Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.0008138/0.0008137, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.317/1.317, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6585/0.6585, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 11.94 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01127/0.1661, allocations: 10.35 MB / 0.5668 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.1738, allocations: 4.947 MB / 0.5717 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007552/0.1746, allocations: 27.88 kB / 0.5717 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.1754, allocations: 318.2 kB / 0.572 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1767, allocations: 0.5334 MB / 0.5725 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1781, allocations: 0.5653 MB / 0.5731 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.1794, allocations: 1.142 MB / 0.5742 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00469/0.1841, allocations: 3.625 MB / 0.5777 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1852, allocations: 0.5997 MB / 0.5783 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009118/0.1861, allocations: 0.6696 MB / 0.579 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1863, allocations: 92 kB / 0.5791 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.1872, allocations: 315.6 kB / 0.5794 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000605/0.1878, allocations: 0.6626 MB / 0.58 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.1881, allocations: 345 kB / 0.5803 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.1905, allocations: 3.02 MB / 0.5833 GB, free: 404 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1905, allocations: 0 / 0.5833 GB, free: 404 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1905, allocations: 0 / 0.5833 GB, free: 404 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.1905, allocations: 0 / 0.5833 GB, free: 404 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.3407/0.5312, allocations: 1.621 MB / 0.5849 GB, free: 32.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5313, allocations: 11.91 kB / 0.5849 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007955/0.5321, allocations: 250 kB / 0.5851 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.5348, allocations: 0.4953 MB / 0.5856 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.5377, allocations: 1.136 MB / 0.5867 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5378, allocations: 114 kB / 0.5868 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.5381, allocations: 153.4 kB / 0.587 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.5437, allocations: 2.725 MB / 0.5896 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.5438, allocations: 9.656 kB / 0.5896 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.544, allocations: 65.31 kB / 0.5897 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004458/0.5444, allocations: 172 kB / 0.5899 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.5491, allocations: 2.286 MB / 0.5921 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.5633, allocations: 10.55 MB / 0.6024 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.5643, allocations: 0.5764 MB / 0.603 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.5645, allocations: 88.61 kB / 0.603 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5645, allocations: 42.28 kB / 0.6031 GB, free: 22.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 2.594e-06/0.5645, allocations: 0 / 0.6031 GB, free: 22.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.01951/0.584, allocations: 6.292 MB / 0.6092 GB, free: 19.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.5841, allocations: 87.08 kB / 0.6093 GB, free: 19.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.5854, allocations: 0.8914 MB / 0.6102 GB, free: 18.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.5854, allocations: 38.86 kB / 0.6102 GB, free: 18.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.5858, allocations: 0.7544 MB / 0.611 GB, free: 18.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.586, allocations: 188.5 kB / 0.6111 GB, free: 17.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.586, allocations: 19.12 kB / 0.6111 GB, free: 17.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5861, allocations: 386.8 kB / 0.6115 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009217/0.5871, allocations: 0.6435 MB / 0.6121 GB, free: 17.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.5881, allocations: 1.012 MB / 0.6131 GB, free: 16.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.5893, allocations: 0.8108 MB / 0.6139 GB, free: 15.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.5893, allocations: 4.125 kB / 0.6139 GB, free: 15.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008359/0.5977, allocations: 3.219 MB / 0.6171 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.5987, allocations: 4.545 MB / 0.6215 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5987, allocations: 7.875 kB / 0.6215 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007012/0.6057, allocations: 1.86 MB / 0.6233 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.6067, allocations: 222.3 kB / 0.6235 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.6182, allocations: 10.51 MB / 0.6338 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.6197, allocations: 179.6 kB / 0.634 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.6198, allocations: 47.98 kB / 0.634 GB, free: 13.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.6198, allocations: 4 kB / 0.634 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006527/0.6263, allocations: 2.628 MB / 0.6366 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.6264, allocations: 15.98 kB / 0.6366 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/0.6311, allocations: 1.203 MB / 0.6378 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.6321, allocations: 255.5 kB / 0.638 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/0.6392, allocations: 5.691 MB / 0.6436 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6405, allocations: 155.8 kB / 0.6437 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.6406, allocations: 39.56 kB / 0.6438 GB, free: 3.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001403/0.642, allocations: 0.8439 MB / 0.6446 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.6422, allocations: 83.02 kB / 0.6447 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/0.6495, allocations: 2.689 MB / 0.6473 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6495, allocations: 12 kB / 0.6473 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6495, allocations: 0 / 0.6473 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.6495, allocations: 0 / 0.6473 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009985/0.6595, allocations: 4.529 MB / 0.6517 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6595, allocations: 4 kB / 0.6517 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.6599, allocations: 104 kB / 0.6518 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006321/0.6663, allocations: 1.708 MB / 0.6535 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.6664, allocations: 12 kB / 0.6535 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.6777, allocations: 10.05 MB / 0.6633 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6777, allocations: 4.031 kB / 0.6633 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/0.6848, allocations: 2.754 MB / 0.666 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007561/0.6856, allocations: 280.1 kB / 0.6663 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.6857, allocations: 16 kB / 0.6663 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/0.6865, allocations: 131.8 kB / 0.6664 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.6867, allocations: 55.81 kB / 0.6665 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.6868, allocations: 19.98 kB / 0.6665 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008311/0.6876, allocations: 0.6356 MB / 0.6671 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6876, allocations: 0 / 0.6671 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002076/0.6897, allocations: 0.6002 MB / 0.6677 GB, free: 9.883 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007475/0.6972, allocations: 3.885 MB / 0.6715 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004932/0.7021, allocations: 3.261 MB / 0.6747 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.7022, allocations: 1.641 kB / 0.6747 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.704, allocations: 1.285 MB / 0.676 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.705, allocations: 207.9 kB / 0.6762 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/0.7246, allocations: 17.49 MB / 0.6932 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.7259, allocations: 1.645 MB / 0.6948 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00117/0.7271, allocations: 498.2 kB / 0.6953 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.7276, allocations: 491.3 kB / 0.6958 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.7276, allocations: 0 / 0.6958 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.473/2.201, allocations: 34.53 MB / 0.7295 GB, free: 10.42 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/2.201, allocations: 238.1 kB / 0.7297 GB, free: 10.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/4.18, allocations: 0 / 0.7297 GB, free: 10.18 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: