Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004996/0.004996, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001101/0.001101, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 293.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4479, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03906/0.487, allocations: 35.11 MB / 0.8002 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.5031, allocations: 9.944 MB / 0.8099 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.5064, allocations: 147.3 kB / 0.8101 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009567/0.516, allocations: 3.807 MB / 0.8138 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.5234, allocations: 2.149 MB / 0.8159 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/0.5288, allocations: 1.956 MB / 0.8178 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009868/0.5387, allocations: 7.99 MB / 0.8256 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.5496, allocations: 9.53 MB / 0.8349 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.5543, allocations: 3.427 MB / 0.8382 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004938/0.5593, allocations: 3.727 MB / 0.8419 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.5605, allocations: 0.6836 MB / 0.8425 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.5633, allocations: 1.447 MB / 0.844 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.566, allocations: 2.62 MB / 0.8465 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004607/0.5706, allocations: 3.097 MB / 0.8495 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.5821, allocations: 10.38 MB / 0.8597 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5821, allocations: 3.938 kB / 0.8597 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5821, allocations: 0 / 0.8597 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003637/0.5825, allocations: 0 / 0.8597 GB, free: 3.48 MB / 0.6231 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.01399/0.5965, allocations: 5.409 MB / 0.865 GB, free: 14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5966, allocations: 8.031 kB / 0.865 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001667/0.5982, allocations: 0.7062 MB / 0.8657 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/0.6035, allocations: 0.9587 MB / 0.8666 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006582/0.6101, allocations: 3.178 MB / 0.8697 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.6104, allocations: 357.9 kB / 0.87 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.6118, allocations: 472.2 kB / 0.8705 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.6284, allocations: 7.902 MB / 0.8782 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/0.6286, allocations: 19.86 kB / 0.8782 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/0.6298, allocations: 208 kB / 0.8784 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005049/0.6303, allocations: 369 kB / 0.8788 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.6415, allocations: 5.941 MB / 0.8846 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03721/0.6787, allocations: 35.95 MB / 0.9197 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/0.6821, allocations: 2.135 MB / 0.9218 GB, free: 124 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.6842, allocations: 1.49 MB / 0.9232 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.6843, allocations: 13.31 kB / 0.9232 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.6844, allocations: 59.81 kB / 0.9233 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.927e-06/0.6844, allocations: 0 / 0.9233 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.0144/0.6988, allocations: 7.54 MB / 0.9307 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.6989, allocations: 64.72 kB / 0.9307 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.7023, allocations: 1.864 MB / 0.9325 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.7025, allocations: 53.7 kB / 0.9326 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.7039, allocations: 2.127 MB / 0.9347 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005842/0.7045, allocations: 0.5507 MB / 0.9352 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006508/0.7052, allocations: 407.6 kB / 0.9356 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.7053, allocations: 301.1 kB / 0.9359 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.7069, allocations: 1.062 MB / 0.9369 GB, free: 240 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.7089, allocations: 1.76 MB / 0.9386 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/0.7127, allocations: 3.052 MB / 0.9416 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/0.7127, allocations: 8 kB / 0.9416 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006739/0.7195, allocations: 3.92 MB / 0.9455 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.7195, allocations: 16 kB / 0.9455 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.7196, allocations: 20.91 kB / 0.9455 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.7221, allocations: 0.9311 MB / 0.9464 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.7236, allocations: 435.2 kB / 0.9468 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4052/1.129, allocations: 22.75 MB / 0.969 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.131, allocations: 124.7 kB / 0.9692 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/1.131, allocations: 92.52 kB / 0.9692 GB, free: 178.6 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003101/1.134, allocations: 1.654 MB / 0.9709 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/1.135, allocations: 258.3 kB / 0.9711 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/1.14, allocations: 3.264 MB / 0.9743 GB, free: 177.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/1.14, allocations: 16.42 kB / 0.9743 GB, free: 177.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/1.14, allocations: 10.72 kB / 0.9743 GB, free: 177.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.14, allocations: 7.734 kB / 0.9743 GB, free: 177.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.152, allocations: 7.555 MB / 0.9817 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/1.152, allocations: 3.906 kB / 0.9817 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008152/1.153, allocations: 219 kB / 0.9819 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/1.155, allocations: 0.8927 MB / 0.9828 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/1.155, allocations: 31.84 kB / 0.9828 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/1.17, allocations: 22.73 MB / 1.005 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.17, allocations: 7.594 kB / 1.005 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/1.175, allocations: 3.388 MB / 1.008 GB, free: 153.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.176, allocations: 0.5304 MB / 1.009 GB, free: 153.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/1.177, allocations: 31.44 kB / 1.009 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.178, allocations: 90.25 kB / 1.009 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/1.178, allocations: 137.6 kB / 1.009 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.933e-05/1.178, allocations: 47.72 kB / 1.009 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001429/1.18, allocations: 1.226 MB / 1.01 GB, free: 152.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/1.18, allocations: 0 / 1.01 GB, free: 152.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002496/1.182, allocations: 0.9099 MB / 1.011 GB, free: 152 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004341/1.187, allocations: 3.985 MB / 1.015 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005235/1.192, allocations: 4.432 MB / 1.019 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.192, allocations: 0 / 1.019 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.195, allocations: 2.999 MB / 1.022 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/1.199, allocations: 0.824 MB / 1.023 GB, free: 139.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/1.233, allocations: 25.04 MB / 1.048 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/1.236, allocations: 3.211 MB / 1.051 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001609/1.238, allocations: 0.5215 MB / 1.051 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.24, allocations: 1.655 MB / 1.053 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/1.24, allocations: 0 / 1.053 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.352, allocations: 70.28 MB / 1.122 GB, free: 38.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/15.12, allocations: 10.7 kB / 1.122 GB, free: 38.57 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)