Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.782/2.782, allocations: 287.3 MB / 302.3 MB, free: 8.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 180.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 102 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000543/0.0005433, allocations: 13.08 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2168, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01988/0.2367, allocations: 14.08 MB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009922/0.2467, allocations: 4.593 MB / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.2484, allocations: 55.69 kB / 0.9966 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.2498, allocations: 290.2 kB / 0.9969 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.253, allocations: 0.6348 MB / 0.9975 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.256, allocations: 0.5831 MB / 0.9981 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.2593, allocations: 1.647 MB / 0.9997 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009978/0.2693, allocations: 4.93 MB / 1.004 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.2717, allocations: 0.95 MB / 1.005 GB, free: 420 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.2744, allocations: 1.001 MB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000832/0.2753, allocations: 144 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.2771, allocations: 347.6 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.2794, allocations: 0.9784 MB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.2807, allocations: 496.5 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007256/0.288, allocations: 4.22 MB / 1.012 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2881, allocations: 0 / 1.012 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2881, allocations: 3.938 kB / 1.012 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001524/0.2883, allocations: 0 / 1.012 GB, free: 9.219 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00757/0.2958, allocations: 2.184 MB / 1.015 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.2959, allocations: 12.03 kB / 1.015 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.2974, allocations: 378.2 kB / 1.015 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007262/0.3048, allocations: 0.8633 MB / 1.016 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/0.3098, allocations: 1.469 MB / 1.017 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.3102, allocations: 180.8 kB / 1.017 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.3113, allocations: 232 kB / 1.018 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.3247, allocations: 4.13 MB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.3249, allocations: 4 kB / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006852/0.3256, allocations: 99.92 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003565/0.3259, allocations: 172.5 kB / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.3377, allocations: 3.628 MB / 1.025 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03387/0.3717, allocations: 16.54 MB / 1.042 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/0.3781, allocations: 2.294 MB / 1.044 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.3785, allocations: 93.66 kB / 1.044 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.3785, allocations: 39.12 kB / 1.044 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 4.178e-06/0.3785, allocations: 0 / 1.044 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.01033/0.3889, allocations: 3.458 MB / 1.047 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.389, allocations: 115.5 kB / 1.047 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.3914, allocations: 1.006 MB / 1.048 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.3916, allocations: 41.7 kB / 1.048 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.3927, allocations: 1.103 MB / 1.05 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.3932, allocations: 276.1 kB / 1.05 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.3934, allocations: 32 kB / 1.05 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003167/0.3937, allocations: 410.7 kB / 1.05 GB, free: 376 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.3956, allocations: 0.6207 MB / 1.051 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.3982, allocations: 1.185 MB / 1.052 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.4007, allocations: 0.854 MB / 1.053 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.4007, allocations: 4 kB / 1.053 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006169/0.4069, allocations: 2.023 MB / 1.055 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.407, allocations: 12 kB / 1.055 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-05/0.4071, allocations: 28.06 kB / 1.055 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.4078, allocations: 163.3 kB / 1.055 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.4103, allocations: 347.4 kB / 1.055 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.598e-05/0.4104, allocations: 39.86 kB / 1.055 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.4124, allocations: 135.7 kB / 1.055 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/0.4127, allocations: 68 kB / 1.056 GB, free: 10.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002572/0.4153, allocations: 0.981 MB / 1.057 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.4157, allocations: 114.7 kB / 1.057 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.4196, allocations: 1.245 MB / 1.058 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.4197, allocations: 8 kB / 1.058 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4197, allocations: 4 kB / 1.058 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.4197, allocations: 3.984 kB / 1.058 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.4301, allocations: 3.69 MB / 1.061 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.4302, allocations: 0 / 1.061 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.4315, allocations: 159.8 kB / 1.062 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006966/0.4323, allocations: 147.5 kB / 1.062 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.4324, allocations: 12 kB / 1.062 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/0.4325, allocations: 12 kB / 1.062 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.4325, allocations: 7.938 kB / 1.062 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.4364, allocations: 1.596 MB / 1.063 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009551/0.4374, allocations: 291.7 kB / 1.064 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/0.4378, allocations: 12 kB / 1.064 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.4391, allocations: 79.84 kB / 1.064 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.4394, allocations: 60.42 kB / 1.064 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/0.4395, allocations: 24 kB / 1.064 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001788/0.4413, allocations: 0.6913 MB / 1.064 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4413, allocations: 0 / 1.064 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002539/0.4439, allocations: 388 kB / 1.065 GB, free: 0.793 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6381/1.082, allocations: 2.849 MB / 1.068 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004343/1.086, allocations: 1.717 MB / 1.069 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.087, allocations: 3 kB / 1.069 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.088, allocations: 0.8672 MB / 1.07 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.09, allocations: 238.4 kB / 1.07 GB, free: 81.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/1.118, allocations: 22.54 MB / 1.092 GB, free: 63.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.122, allocations: 1.959 MB / 1.094 GB, free: 62.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002276/1.124, allocations: 448.8 kB / 1.095 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.126, allocations: 0.7139 MB / 1.095 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/1.126, allocations: 2.188 kB / 1.095 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08062/1.206, allocations: 26.88 MB / 1.122 GB, free: 53.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/1.207, allocations: 232.6 kB / 1.122 GB, free: 53.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.374, allocations: 0 / 1.122 GB, free: 53.53 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)