Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 180.8 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 85.38 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 11.59 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01211/0.3145, allocations: 11.9 MB / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.3265, allocations: 8.647 MB / 0.9202 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.3285, allocations: 51.62 kB / 0.9203 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3298, allocations: 258.2 kB / 0.9205 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004998/0.3348, allocations: 1.253 MB / 0.9217 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.3369, allocations: 0.5171 MB / 0.9222 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.3403, allocations: 1.522 MB / 0.9237 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003828/0.3442, allocations: 1.802 MB / 0.9255 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.3467, allocations: 0.7628 MB / 0.9262 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.3491, allocations: 0.8406 MB / 0.9271 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006264/0.3497, allocations: 72 kB / 0.9271 GB, free: 36.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.3516, allocations: 387.5 kB / 0.9275 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.3523, allocations: 478.5 kB / 0.9279 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000812/0.3532, allocations: 352.7 kB / 0.9283 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.3563, allocations: 2.069 MB / 0.9303 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3563, allocations: 0 / 0.9303 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3563, allocations: 4 kB / 0.9303 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001777/0.3565, allocations: 0 / 0.9303 GB, free: 32.8 MB / 0.6042 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.005655/0.3621, allocations: 1.812 MB / 0.9321 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.3622, allocations: 15.97 kB / 0.9321 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009091/0.3631, allocations: 194.2 kB / 0.9323 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.3741, allocations: 2.162 MB / 0.9344 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.3773, allocations: 1.15 MB / 0.9355 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3774, allocations: 86.36 kB / 0.9356 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006024/0.378, allocations: 123.8 kB / 0.9357 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006524/0.3846, allocations: 2.683 MB / 0.9383 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/0.3847, allocations: 11.92 kB / 0.9383 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.3849, allocations: 59.97 kB / 0.9384 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006392/0.3856, allocations: 178.1 kB / 0.9386 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007215/0.3928, allocations: 2.838 MB / 0.9413 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/0.4073, allocations: 10.58 MB / 0.9517 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006412/0.4137, allocations: 2.567 MB / 0.9542 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-05/0.4139, allocations: 17 kB / 0.9542 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.4139, allocations: 39.56 kB / 0.9542 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 3.506e-06/0.4139, allocations: 0 / 0.9542 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of matching and sorting (n=131): time 0.04534/0.4593, allocations: 13.42 MB / 0.9673 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.4594, allocations: 68.72 kB / 0.9674 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.4615, allocations: 1.109 MB / 0.9685 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.4617, allocations: 49.7 kB / 0.9685 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.4624, allocations: 0.7193 MB / 0.9692 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006285/0.463, allocations: 449.5 kB / 0.9697 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4632, allocations: 24 kB / 0.9697 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4634, allocations: 361.9 kB / 0.97 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.4671, allocations: 1.358 MB / 0.9714 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.4709, allocations: 1.604 MB / 0.9729 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/0.4745, allocations: 1.466 MB / 0.9744 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4745, allocations: 3.938 kB / 0.9744 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01235/0.4869, allocations: 4.459 MB / 0.9787 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.487, allocations: 8 kB / 0.9787 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.487, allocations: 8 kB / 0.9787 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005392/0.4924, allocations: 1.439 MB / 0.9801 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.4947, allocations: 439.3 kB / 0.9806 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02932/0.5241, allocations: 25 MB / 1.005 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.5271, allocations: 319.5 kB / 1.005 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00043/0.5276, allocations: 67.95 kB / 1.005 GB, free: 0.7969 MB / 0.6511 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.001463/0.5291, allocations: 441 kB / 1.006 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005955/0.5297, allocations: 158.1 kB / 1.006 GB, free: 208 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.5424, allocations: 4.493 MB / 1.01 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.5425, allocations: 12 kB / 1.01 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/0.5426, allocations: 12 kB / 1.01 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.5426, allocations: 7.969 kB / 1.01 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.56, allocations: 6.81 MB / 1.017 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.5601, allocations: 4 kB / 1.017 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/0.562, allocations: 391.7 kB / 1.017 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/0.567, allocations: 1.298 MB / 1.019 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/0.5672, allocations: 40.72 kB / 1.019 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/0.5946, allocations: 23.97 MB / 1.042 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5947, allocations: 4.031 kB / 1.042 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.6069, allocations: 4.389 MB / 1.046 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.6084, allocations: 455 kB / 1.047 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005346/0.609, allocations: 24 kB / 1.047 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/0.6114, allocations: 319.5 kB / 1.047 GB, free: 3.797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.612, allocations: 124.7 kB / 1.047 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.6122, allocations: 51.97 kB / 1.047 GB, free: 3.625 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001569/0.6137, allocations: 0.7409 MB / 1.048 GB, free: 2.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6138, allocations: 4 kB / 1.048 GB, free: 2.879 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003099/0.6169, allocations: 0.5664 MB / 1.049 GB, free: 2.312 MB / 0.698 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.5939/1.211, allocations: 5.702 MB / 1.054 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.223, allocations: 5.144 MB / 1.059 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.223, allocations: 6.5 kB / 1.059 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00735/1.23, allocations: 3.497 MB / 1.063 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/1.233, allocations: 495.5 kB / 1.063 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03713/1.27, allocations: 18.86 MB / 1.081 GB, free: 125.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/1.272, allocations: 1.512 MB / 1.083 GB, free: 124.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002576/1.275, allocations: 434.5 kB / 1.083 GB, free: 124.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.276, allocations: 0.6198 MB / 1.084 GB, free: 124.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.276, allocations: 0 / 1.084 GB, free: 124.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/1.36, allocations: 49.69 MB / 1.132 GB, free: 83.49 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/1.36, allocations: 233.2 kB / 1.133 GB, free: 83.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.617, allocations: 7.938 kB / 1.133 GB, free: 83.24 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)