Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008894, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005674/0.0005675, allocations: 14.5 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.292, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03833/0.3304, allocations: 37.47 MB / 0.824 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.3543, allocations: 14.4 MB / 0.8381 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004898/0.3592, allocations: 159.1 kB / 0.8382 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.3629, allocations: 0.8372 MB / 0.839 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.3731, allocations: 2.336 MB / 0.8413 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008283/0.3815, allocations: 1.908 MB / 0.8432 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0215/0.403, allocations: 12.72 MB / 0.8556 GB, free: 5.812 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02513/0.4282, allocations: 13.98 MB / 0.8693 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008672/0.4369, allocations: 3.576 MB / 0.8727 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009538/0.4465, allocations: 4.645 MB / 0.8773 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002515/0.449, allocations: 396 kB / 0.8777 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.4541, allocations: 0.8859 MB / 0.8785 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00574/0.4599, allocations: 2.973 MB / 0.8814 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004239/0.4641, allocations: 1.385 MB / 0.8828 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.4807, allocations: 11.77 MB / 0.8943 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.4808, allocations: 4 kB / 0.8943 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.578e-06/0.4808, allocations: 0 / 0.8943 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006102/0.4815, allocations: 0 / 0.8943 GB, free: 14.04 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01853/0.5, allocations: 6.224 MB / 0.9004 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5001, allocations: 8.031 kB / 0.9004 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004088/0.5042, allocations: 0.8954 MB / 0.9012 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.515, allocations: 1.518 MB / 0.9027 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.5253, allocations: 4.101 MB / 0.9067 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.5258, allocations: 452.1 kB / 0.9072 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003341/0.5291, allocations: 0.5936 MB / 0.9077 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5941/1.123, allocations: 10.63 MB / 0.9181 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/1.124, allocations: 35.45 kB / 0.9182 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009164/1.124, allocations: 261 kB / 0.9184 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002423/1.127, allocations: 0.7748 MB / 0.9192 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/1.149, allocations: 8.513 MB / 0.9275 GB, free: 98.04 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05896/1.208, allocations: 46.99 MB / 0.9734 GB, free: 58.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/1.213, allocations: 4.297 MB / 0.9776 GB, free: 56.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004455/1.217, allocations: 3.674 MB / 0.9811 GB, free: 54.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/1.217, allocations: 36.34 kB / 0.9812 GB, free: 54.05 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/1.217, allocations: 83.42 kB / 0.9813 GB, free: 53.97 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.089e-06/1.218, allocations: 7.938 kB / 0.9813 GB, free: 53.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4478/1.665, allocations: 127.9 MB / 1.106 GB, free: 5.801 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/1.665, allocations: 114.7 kB / 1.106 GB, free: 5.676 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/1.669, allocations: 2.65 MB / 1.109 GB, free: 3.027 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.671, allocations: 121.7 kB / 1.109 GB, free: 2.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/1.672, allocations: 2.672 MB / 1.112 GB, free: 212 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002991/1.675, allocations: 1.957 MB / 1.113 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/1.676, allocations: 112 kB / 1.114 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0003554/1.676, allocations: 0.5218 MB / 1.114 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006388/1.683, allocations: 4.06 MB / 1.118 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007234/1.69, allocations: 4.992 MB / 1.123 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007805/1.698, allocations: 4.827 MB / 1.128 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/1.698, allocations: 4 kB / 1.128 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03892/1.737, allocations: 16.92 MB / 1.144 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/1.737, allocations: 12.62 kB / 1.144 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/1.737, allocations: 24 kB / 1.144 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03007/1.767, allocations: 9.053 MB / 1.153 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.77, allocations: 0.5304 MB / 1.154 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1052/1.875, allocations: 70.62 MB / 1.223 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/1.88, allocations: 279.7 kB / 1.223 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/1.881, allocations: 188 kB / 1.223 GB, free: 12.13 MB / 0.92 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00555/1.887, allocations: 2.429 MB / 1.225 GB, free: 9.688 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.888, allocations: 474.5 kB / 1.226 GB, free: 9.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03859/1.926, allocations: 16.75 MB / 1.242 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.877e-05/1.927, allocations: 60.12 kB / 1.242 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002548/1.927, allocations: 76 kB / 1.242 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000137/1.927, allocations: 27.89 kB / 1.242 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5743/2.501, allocations: 25.62 MB / 1.267 GB, free: 308.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-05/2.501, allocations: 10.55 kB / 1.267 GB, free: 308.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/2.504, allocations: 317.2 kB / 1.268 GB, free: 308.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02953/2.533, allocations: 8.258 MB / 1.276 GB, free: 308.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001268/2.534, allocations: 111.4 kB / 1.276 GB, free: 308.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09185/2.626, allocations: 67.44 MB / 1.342 GB, free: 275.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.626, allocations: 11.66 kB / 1.342 GB, free: 275.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04042/2.667, allocations: 21.48 MB / 1.363 GB, free: 263.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005373/2.672, allocations: 1.366 MB / 1.364 GB, free: 262.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002298/2.675, allocations: 108 kB / 1.364 GB, free: 262.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/2.679, allocations: 292 kB / 1.364 GB, free: 262.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001962/2.681, allocations: 0.5182 MB / 1.365 GB, free: 261.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/2.681, allocations: 144 kB / 1.365 GB, free: 261.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002267/2.683, allocations: 1.745 MB / 1.367 GB, free: 259.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/2.683, allocations: 4 kB / 1.367 GB, free: 259.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.009073/2.692, allocations: 2.465 MB / 1.369 GB, free: 257.3 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03543/2.728, allocations: 22.19 MB / 1.391 GB, free: 234.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0237/2.752, allocations: 14.48 MB / 1.405 GB, free: 220.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/2.752, allocations: 4 kB / 1.405 GB, free: 220 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01807/2.77, allocations: 9.368 MB / 1.414 GB, free: 210.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007807/2.778, allocations: 1.287 MB / 1.415 GB, free: 209.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09919/2.877, allocations: 55.84 MB / 1.47 GB, free: 151.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005916/2.883, allocations: 4.896 MB / 1.475 GB, free: 146.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003187/2.886, allocations: 0.7449 MB / 1.475 GB, free: 145.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/2.889, allocations: 2.6 MB / 1.478 GB, free: 143.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.092e-06/2.889, allocations: 0 / 1.478 GB, free: 143.1 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7863/3.675, allocations: 185.9 MB / 1.659 GB, free: 297.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/3.675, allocations: 239.3 kB / 1.66 GB, free: 297.6 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/11.04, allocations: 1.875 kB / 1.66 GB, free: 297.6 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: