Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001466/0.001466, allocations: 100 kB / 15.05 MB, free: 1.105 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.002869/0.00287, allocations: 177.3 kB / 15.94 MB, free: 228 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.883/1.883, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.941/1.941, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005276/0.0005279, allocations: 20.92 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0141/0.3142, allocations: 11.9 MB / 0.7989 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.3283, allocations: 8.644 MB / 0.8073 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.3309, allocations: 47.62 kB / 0.8073 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.3324, allocations: 250.3 kB / 0.8076 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005192/0.3377, allocations: 1.258 MB / 0.8088 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.3396, allocations: 0.5224 MB / 0.8093 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002916/0.3425, allocations: 1.515 MB / 0.8108 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.3459, allocations: 1.801 MB / 0.8126 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.3477, allocations: 0.7629 MB / 0.8133 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.3492, allocations: 0.8367 MB / 0.8141 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3494, allocations: 72 kB / 0.8142 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.3505, allocations: 391.5 kB / 0.8146 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.351, allocations: 470.5 kB / 0.815 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.3514, allocations: 348.8 kB / 0.8153 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.3539, allocations: 2.081 MB / 0.8174 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3539, allocations: 0 / 0.8174 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3539, allocations: 3.938 kB / 0.8174 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.039e-05/0.354, allocations: 0 / 0.8174 GB, free: 12.89 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003976/0.358, allocations: 1.816 MB / 0.8192 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.358, allocations: 8.031 kB / 0.8192 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/0.3584, allocations: 194.2 kB / 0.8193 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.3697, allocations: 2.17 MB / 0.8215 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.373, allocations: 1.154 MB / 0.8226 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.486e-05/0.3731, allocations: 94.3 kB / 0.8227 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.3735, allocations: 112 kB / 0.8228 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.3797, allocations: 2.686 MB / 0.8254 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.3798, allocations: 15.83 kB / 0.8254 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.38, allocations: 55.98 kB / 0.8255 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006771/0.3807, allocations: 182.1 kB / 0.8257 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007994/0.3887, allocations: 2.834 MB / 0.8284 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.4068, allocations: 10.57 MB / 0.8387 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007131/0.4139, allocations: 2.568 MB / 0.8413 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.4141, allocations: 9 kB / 0.8413 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.4142, allocations: 43.56 kB / 0.8413 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.447e-06/0.4142, allocations: 4 kB / 0.8413 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04676/0.461, allocations: 13.43 MB / 0.8544 GB, free: 5.781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.4611, allocations: 64.72 kB / 0.8545 GB, free: 5.703 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.4628, allocations: 1.105 MB / 0.8556 GB, free: 4.582 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.463, allocations: 49.7 kB / 0.8556 GB, free: 4.527 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.4637, allocations: 0.7155 MB / 0.8563 GB, free: 3.805 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/0.4642, allocations: 461.4 kB / 0.8567 GB, free: 3.348 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.4643, allocations: 28 kB / 0.8568 GB, free: 3.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4645, allocations: 357.9 kB / 0.8571 GB, free: 2.965 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.4677, allocations: 1.354 MB / 0.8584 GB, free: 1.609 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/0.4711, allocations: 1.612 MB / 0.86 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.4745, allocations: 1.454 MB / 0.8614 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4746, allocations: 4 kB / 0.8614 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01154/0.4861, allocations: 4.466 MB / 0.8658 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4862, allocations: 8 kB / 0.8658 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.4862, allocations: 4.844 kB / 0.8658 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/0.4914, allocations: 1.431 MB / 0.8672 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.4937, allocations: 455.2 kB / 0.8676 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03738/0.5311, allocations: 25.01 MB / 0.8921 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/0.5358, allocations: 311.6 kB / 0.8924 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000447/0.5363, allocations: 67.95 kB / 0.8924 GB, free: 12.87 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001977/0.5383, allocations: 435.9 kB / 0.8928 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/0.539, allocations: 170 kB / 0.893 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02597/0.565, allocations: 4.469 MB / 0.8974 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.5651, allocations: 20 kB / 0.8974 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-05/0.5652, allocations: 12 kB / 0.8974 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/0.5653, allocations: 11.91 kB / 0.8974 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/0.5999, allocations: 6.794 MB / 0.904 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/0.6, allocations: 4 kB / 0.904 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/0.6036, allocations: 395.6 kB / 0.9044 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009237/0.6129, allocations: 1.31 MB / 0.9057 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00051/0.6135, allocations: 39.97 kB / 0.9057 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5979/1.211, allocations: 23.96 MB / 0.9291 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.211, allocations: 2.781 kB / 0.9291 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.222, allocations: 4.391 MB / 0.9334 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.223, allocations: 460.8 kB / 0.9339 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/1.224, allocations: 24.77 kB / 0.9339 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.226, allocations: 319.7 kB / 0.9342 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.226, allocations: 127.6 kB / 0.9343 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.226, allocations: 47.8 kB / 0.9344 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001093/1.228, allocations: 0.7428 MB / 0.9351 GB, free: 116 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.228, allocations: 0 / 0.9351 GB, free: 116 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002255/1.23, allocations: 0.5678 MB / 0.9356 GB, free: 116 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.012/1.242, allocations: 5.706 MB / 0.9412 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01778/1.26, allocations: 5.14 MB / 0.9462 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/1.26, allocations: 0.5312 kB / 0.9462 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00708/1.267, allocations: 3.518 MB / 0.9497 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.269, allocations: 495.8 kB / 0.9501 GB, free: 109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/1.302, allocations: 18.85 MB / 0.9686 GB, free: 98.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.303, allocations: 1.507 MB / 0.97 GB, free: 97.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002063/1.305, allocations: 427.6 kB / 0.9704 GB, free: 96.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/1.306, allocations: 0.6247 MB / 0.971 GB, free: 96.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.306, allocations: 0 / 0.971 GB, free: 96.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.407, allocations: 49.68 MB / 1.02 GB, free: 52.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.407, allocations: 214.2 kB / 1.02 GB, free: 52.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/4.571, allocations: 0 / 1.02 GB, free: 52.02 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: