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_L.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_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.733/2.733, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001506/0.001506, allocations: 190 kB / 370.8 MB, free: 10.84 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.374/2.374, 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.001141/0.001141, allocations: 94.95 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 13.17 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04025/0.2495, allocations: 28.68 MB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02409/0.2737, allocations: 9.848 MB / 1.016 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.2768, allocations: 123.2 kB / 1.016 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.2798, allocations: 0.6328 MB / 1.017 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/0.286, allocations: 1.27 MB / 1.018 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.2926, allocations: 1.28 MB / 1.019 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008545/0.3011, allocations: 3.437 MB / 1.023 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02727/0.3285, allocations: 10.31 MB / 1.033 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.3339, allocations: 1.974 MB / 1.035 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005077/0.3391, allocations: 1.985 MB / 1.036 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.3406, allocations: 268 kB / 1.037 GB, free: 280 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.3444, allocations: 0.7022 MB / 1.037 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003832/0.3483, allocations: 1.867 MB / 1.039 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.3507, allocations: 0.9602 MB / 1.04 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.3645, allocations: 8.201 MB / 1.048 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3645, allocations: 4 kB / 1.048 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3645, allocations: 0 / 1.048 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003228/0.3649, allocations: 0 / 1.048 GB, free: 4.504 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01361/0.3785, allocations: 4.035 MB / 1.052 GB, free: 408 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3786, allocations: 8.031 kB / 1.052 GB, free: 400 kB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002462/0.381, allocations: 0.6779 MB / 1.053 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.3887, allocations: 0.927 MB / 1.054 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008935/0.3977, allocations: 2.796 MB / 1.056 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/0.3982, allocations: 345.3 kB / 1.057 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.4, allocations: 471.8 kB / 1.057 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.4235, allocations: 7.585 MB / 1.065 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/0.4238, allocations: 27.78 kB / 1.065 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.4252, allocations: 200 kB / 1.065 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005885/0.4258, allocations: 316.9 kB / 1.065 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6358/1.062, allocations: 5.673 MB / 1.071 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05399/1.116, allocations: 35.12 MB / 1.105 GB, free: 50.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/1.121, allocations: 2.158 MB / 1.107 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/1.121, allocations: 18.3 kB / 1.107 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.121, allocations: 45.05 kB / 1.107 GB, free: 48.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 4.048e-06/1.121, allocations: 0 / 1.107 GB, free: 48.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.02359/1.145, allocations: 7.077 MB / 1.114 GB, free: 45.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.145, allocations: 65.69 kB / 1.114 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/1.148, allocations: 1.469 MB / 1.116 GB, free: 44.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003138/1.148, allocations: 49.61 kB / 1.116 GB, free: 44.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/1.15, allocations: 2.003 MB / 1.118 GB, free: 42.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006524/1.15, allocations: 494.6 kB / 1.118 GB, free: 42.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.151, allocations: 35.91 kB / 1.118 GB, free: 42.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.151, allocations: 381.8 kB / 1.118 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.153, allocations: 0.9005 MB / 1.119 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/1.156, allocations: 1.578 MB / 1.121 GB, free: 40.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/1.159, allocations: 1.182 MB / 1.122 GB, free: 39.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/1.159, allocations: 3.969 kB / 1.122 GB, free: 39.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01066/1.17, allocations: 3.521 MB / 1.125 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/1.17, allocations: 15.56 kB / 1.125 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/1.17, allocations: 21.19 kB / 1.125 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004566/1.174, allocations: 0.8995 MB / 1.126 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/1.177, allocations: 353.8 kB / 1.127 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02737/1.204, allocations: 21.53 MB / 1.148 GB, free: 17.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/1.207, allocations: 104.8 kB / 1.148 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/1.207, allocations: 85.41 kB / 1.148 GB, free: 17.29 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 (185): * Single equations (assignments): 173 * 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,(3,77.8%) 5,(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.004212/1.211, allocations: 1.603 MB / 1.149 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007613/1.212, allocations: 211.9 kB / 1.15 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008783/1.221, allocations: 2.984 MB / 1.153 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.221, allocations: 13.19 kB / 1.153 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-05/1.221, allocations: 10.38 kB / 1.153 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.884e-05/1.221, allocations: 7.969 kB / 1.153 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/1.241, allocations: 7.316 MB / 1.16 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.241, allocations: 3.812 kB / 1.16 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.243, allocations: 176.9 kB / 1.16 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004139/1.247, allocations: 0.8309 MB / 1.161 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/1.247, allocations: 31.25 kB / 1.161 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/1.274, allocations: 20.64 MB / 1.181 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.275, allocations: 4 kB / 1.181 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/1.284, allocations: 3.304 MB / 1.184 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.286, allocations: 462.7 kB / 1.185 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/1.286, allocations: 28 kB / 1.185 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.288, allocations: 75.91 kB / 1.185 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005432/1.288, allocations: 124.5 kB / 1.185 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.288, allocations: 40 kB / 1.185 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002105/1.29, allocations: 0.96 MB / 1.186 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.52e-07/1.29, allocations: 0 / 1.186 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004663/1.295, allocations: 0.7812 MB / 1.187 GB, free: 13.75 MB / 0.7136 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 (91): * Single equations (assignments): 79 * 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%) 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%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01048/1.306, allocations: 5.054 MB / 1.191 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.316, allocations: 4.001 MB / 1.195 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.316, allocations: 0 / 1.195 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006766/1.323, allocations: 2.736 MB / 1.198 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/1.328, allocations: 0.645 MB / 1.199 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07719/1.405, allocations: 34.03 MB / 1.232 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007735/1.413, allocations: 3.185 MB / 1.235 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002476/1.415, allocations: 461.9 kB / 1.235 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003385/1.419, allocations: 1.546 MB / 1.237 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/1.419, allocations: 0 / 1.237 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2269/1.646, allocations: 58.98 MB / 1.295 GB, free: 13.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/1.646, allocations: 230.5 kB / 1.295 GB, free: 13.66 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.268/5.914, allocations: 7.016 kB / 1.295 GB, free: 13.66 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)