Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.666/2.666, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.00137/0.001369, allocations: 178.1 kB / 371 MB, free: 10.86 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.267/2.267, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009213/0.000921, allocations: 113.1 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005001, allocations: 13.14 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2125, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0447/0.2572, allocations: 31.93 MB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.281, allocations: 9.55 MB / 1.019 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.2845, allocations: 119.3 kB / 1.019 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.288, allocations: 0.6898 MB / 1.02 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006974/0.295, allocations: 1.636 MB / 1.021 GB, free: 208 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.301, allocations: 1.151 MB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01625/0.3173, allocations: 8.837 MB / 1.031 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02734/0.3447, allocations: 10.4 MB / 1.041 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/0.3514, allocations: 2.432 MB / 1.044 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007779/0.3593, allocations: 3.126 MB / 1.047 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.3613, allocations: 280 kB / 1.047 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.3658, allocations: 0.6517 MB / 1.048 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005092/0.3709, allocations: 2.089 MB / 1.05 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.3743, allocations: 1.03 MB / 1.051 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.3899, allocations: 8.552 MB / 1.059 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3899, allocations: 0 / 1.059 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.016e-06/0.39, allocations: 0 / 1.059 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003462/0.3903, allocations: 0 / 1.059 GB, free: 9.508 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01622/0.4065, allocations: 4.41 MB / 1.063 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.4066, allocations: 12.03 kB / 1.063 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003088/0.4097, allocations: 0.7021 MB / 1.064 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008387/0.4182, allocations: 0.9655 MB / 1.065 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.4284, allocations: 2.929 MB / 1.068 GB, free: 356 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.6987/1.127, allocations: 358.9 kB / 1.068 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002401/1.13, allocations: 463.9 kB / 1.069 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/1.157, allocations: 7.861 MB / 1.076 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002547/1.157, allocations: 26.98 kB / 1.076 GB, free: 77.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/1.158, allocations: 209.5 kB / 1.076 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/1.16, allocations: 365.2 kB / 1.077 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/1.179, allocations: 5.899 MB / 1.083 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0547/1.234, allocations: 36.25 MB / 1.118 GB, free: 45.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006632/1.241, allocations: 2.124 MB / 1.12 GB, free: 44.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003446/1.244, allocations: 1.476 MB / 1.122 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/1.245, allocations: 21.42 kB / 1.122 GB, free: 43.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/1.245, allocations: 55.17 kB / 1.122 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 4.849e-06/1.245, allocations: 3.938 kB / 1.122 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.03084/1.276, allocations: 7.543 MB / 1.129 GB, free: 38.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.276, allocations: 68.5 kB / 1.129 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/1.279, allocations: 1.838 MB / 1.131 GB, free: 37.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/1.28, allocations: 57.08 kB / 1.131 GB, free: 37.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/1.282, allocations: 2.12 MB / 1.133 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008305/1.282, allocations: 0.561 MB / 1.133 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.283, allocations: 44.72 kB / 1.134 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.283, allocations: 389.4 kB / 1.134 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/1.286, allocations: 1.057 MB / 1.135 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/1.289, allocations: 1.753 MB / 1.137 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/1.292, allocations: 1.348 MB / 1.138 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/1.292, allocations: 6.281 kB / 1.138 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01166/1.304, allocations: 3.893 MB / 1.142 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/1.304, allocations: 15.53 kB / 1.142 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/1.304, allocations: 24.58 kB / 1.142 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004162/1.308, allocations: 0.9476 MB / 1.143 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.311, allocations: 425.7 kB / 1.143 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/1.335, allocations: 21.05 MB / 1.164 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/1.338, allocations: 127.9 kB / 1.164 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/1.339, allocations: 92 kB / 1.164 GB, free: 7.609 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004062/1.343, allocations: 1.647 MB / 1.166 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/1.344, allocations: 261 kB / 1.166 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008133/1.352, allocations: 3.253 MB / 1.169 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.352, allocations: 16 kB / 1.169 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.352, allocations: 8 kB / 1.169 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/1.352, allocations: 7.969 kB / 1.169 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.372, allocations: 7.533 MB / 1.176 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.372, allocations: 4.562 kB / 1.176 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.374, allocations: 219.6 kB / 1.177 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004342/1.379, allocations: 0.8937 MB / 1.177 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/1.379, allocations: 32 kB / 1.177 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02998/1.409, allocations: 21.02 MB / 1.198 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.409, allocations: 4 kB / 1.198 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009412/1.419, allocations: 3.366 MB / 1.201 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/1.42, allocations: 0.5409 MB / 1.202 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/1.421, allocations: 32 kB / 1.202 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.423, allocations: 87.89 kB / 1.202 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/1.423, allocations: 141 kB / 1.202 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.424, allocations: 48 kB / 1.202 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002573/1.426, allocations: 1.205 MB / 1.203 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.426, allocations: 3.844 kB / 1.203 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004277/1.43, allocations: 0.9023 MB / 1.204 GB, free: 12.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009624/1.44, allocations: 3.973 MB / 1.208 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.451, allocations: 4.412 MB / 1.212 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/1.451, allocations: 4 kB / 1.212 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01095/1.462, allocations: 2.997 MB / 1.215 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009009/1.471, allocations: 0.7738 MB / 1.216 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05932/1.53, allocations: 21.52 MB / 1.237 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006299/1.537, allocations: 3.211 MB / 1.24 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003287/1.54, allocations: 0.5293 MB / 1.241 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003671/1.544, allocations: 1.659 MB / 1.242 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of SimCode: time 1.663e-06/1.544, allocations: 0 / 1.242 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1911/1.735, allocations: 68.7 MB / 1.309 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/1.735, allocations: 232.2 kB / 1.31 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.929/6.664, allocations: 0 / 1.31 GB, free: 15.29 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)