Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",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.0008165/0.0008166, allocations: 92.7 kB / 15.7 MB, free: 472 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.001125/0.001125, allocations: 171.5 kB / 16.58 MB, free: 6.852 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.26/1.26, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6271/0.6271, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 8 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005492/0.1486, allocations: 4.568 MB / 0.5614 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.1533, allocations: 3.481 MB / 0.5648 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.1537, allocations: 11.94 kB / 0.5648 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.1545, allocations: 207.1 kB / 0.565 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1555, allocations: 378.3 kB / 0.5653 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.1561, allocations: 183.6 kB / 0.5655 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1572, allocations: 0.7553 MB / 0.5662 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.1584, allocations: 0.7395 MB / 0.567 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.1588, allocations: 199.2 kB / 0.5672 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.1592, allocations: 255 kB / 0.5674 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.1593, allocations: 20 kB / 0.5674 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.16, allocations: 327.6 kB / 0.5677 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1602, allocations: 151.5 kB / 0.5679 GB, free: 364 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1603, allocations: 105.5 kB / 0.568 GB, free: 252 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.1612, allocations: 0.7559 MB / 0.5687 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1612, allocations: 3.984 kB / 0.5687 GB, free: 15.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1612, allocations: 0 / 0.5687 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.1612, allocations: 0 / 0.5687 GB, free: 15.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001421/0.1626, allocations: 0.7634 MB / 0.5695 GB, free: 14.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1627, allocations: 12.03 kB / 0.5695 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.1628, allocations: 74.52 kB / 0.5695 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.1655, allocations: 0.7209 MB / 0.5703 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.1665, allocations: 0.5343 MB / 0.5708 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1665, allocations: 24.66 kB / 0.5708 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.1666, allocations: 28 kB / 0.5708 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1681, allocations: 0.8473 MB / 0.5717 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1682, allocations: 0 / 0.5717 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.1682, allocations: 15.98 kB / 0.5717 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.1684, allocations: 72.56 kB / 0.5717 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.1703, allocations: 0.939 MB / 0.5727 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.1741, allocations: 2.945 MB / 0.5755 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1755, allocations: 0.5611 MB / 0.5761 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.1762, allocations: 324.9 kB / 0.5764 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.1763, allocations: 81.3 kB / 0.5765 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1764, allocations: 46.73 kB / 0.5765 GB, free: 7.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.1764, allocations: 0 / 0.5765 GB, free: 7.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01246/0.1888, allocations: 4.078 MB / 0.5805 GB, free: 3.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1889, allocations: 81.11 kB / 0.5806 GB, free: 2.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.1895, allocations: 457.4 kB / 0.581 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.1896, allocations: 33.7 kB / 0.581 GB, free: 2.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1898, allocations: 236.2 kB / 0.5813 GB, free: 2.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1899, allocations: 126.2 kB / 0.5814 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.1899, allocations: 8 kB / 0.5814 GB, free: 2.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1901, allocations: 350.8 kB / 0.5817 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008911/0.191, allocations: 444.5 kB / 0.5821 GB, free: 1.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.1919, allocations: 0.5251 MB / 0.5827 GB, free: 0.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.1929, allocations: 481.9 kB / 0.5831 GB, free: 244 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1929, allocations: 0 / 0.5831 GB, free: 244 kB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.257/0.4499, allocations: 1.916 MB / 0.585 GB, free: 32.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/0.45, allocations: 155.6 kB / 0.5851 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.45, allocations: 1.953 kB / 0.5851 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004454/0.4545, allocations: 1.098 MB / 0.5862 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.4551, allocations: 132.2 kB / 0.5863 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009452/0.4646, allocations: 6.388 MB / 0.5926 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.4654, allocations: 114.8 kB / 0.5927 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.4654, allocations: 22.92 kB / 0.5927 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.4654, allocations: 4.469 kB / 0.5927 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00462/0.4701, allocations: 1.631 MB / 0.5943 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4701, allocations: 2.375 kB / 0.5943 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.4732, allocations: 0.8023 MB / 0.5951 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.4738, allocations: 143.6 kB / 0.5952 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007326/0.4811, allocations: 5.554 MB / 0.6007 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.4819, allocations: 111 kB / 0.6008 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.4819, allocations: 19.09 kB / 0.6008 GB, free: 25.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.4824, allocations: 346.8 kB / 0.6011 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4825, allocations: 39.56 kB / 0.6011 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/0.4874, allocations: 1.828 MB / 0.6029 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4874, allocations: 7.812 kB / 0.6029 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4874, allocations: 1.375 kB / 0.6029 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4874, allocations: 1.625 kB / 0.6029 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.4931, allocations: 2.575 MB / 0.6055 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4931, allocations: 1.031 kB / 0.6055 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.4935, allocations: 82.06 kB / 0.6055 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/0.4972, allocations: 1.024 MB / 0.6065 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.4973, allocations: 15.33 kB / 0.6066 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/0.5054, allocations: 6.055 MB / 0.6125 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5054, allocations: 1.281 kB / 0.6125 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/0.5104, allocations: 1.801 MB / 0.6142 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5107, allocations: 194.5 kB / 0.6144 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5108, allocations: 6.75 kB / 0.6144 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.5114, allocations: 99.3 kB / 0.6145 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.5116, allocations: 39.8 kB / 0.6145 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.5116, allocations: 11.84 kB / 0.6146 GB, free: 16.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004224/0.5121, allocations: 338.3 kB / 0.6149 GB, free: 16.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5121, allocations: 3.938 kB / 0.6149 GB, free: 16.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001287/0.5134, allocations: 289.5 kB / 0.6152 GB, free: 16.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.004896/0.5183, allocations: 2.395 MB / 0.6175 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005395/0.5237, allocations: 2.532 MB / 0.62 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5237, allocations: 0.9375 kB / 0.62 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.5258, allocations: 0.9947 MB / 0.6209 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.5265, allocations: 117.1 kB / 0.6211 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/0.5358, allocations: 5.097 MB / 0.626 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.5363, allocations: 0.9531 MB / 0.627 GB, free: 6.777 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000551/0.5368, allocations: 159.2 kB / 0.6271 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.5371, allocations: 147.4 kB / 0.6273 GB, free: 6.477 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5371, allocations: 0 / 0.6273 GB, free: 6.477 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.579, allocations: 20.98 MB / 0.6477 GB, free: 1.883 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.5793, allocations: 244.4 kB / 0.648 GB, free: 1.605 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.569, allocations: 1.406 kB / 0.648 GB, free: 1.605 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) Environment - environmentSimulation: