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.0007946/0.0007946, allocations: 98.97 kB / 16.02 MB, free: 80 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.0007657/0.0007656, allocations: 181.8 kB / 16.92 MB, free: 6.754 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.264/1.264, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6561/0.6561, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 9.25 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 77.54 MB / 0.5601 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005736/0.1402, allocations: 4.774 MB / 0.5647 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.1454, allocations: 3.717 MB / 0.5684 GB, free: 388 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.1457, allocations: 11.94 kB / 0.5684 GB, free: 376 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.1466, allocations: 227 kB / 0.5686 GB, free: 148 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.1477, allocations: 409.9 kB / 0.569 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.1485, allocations: 243.5 kB / 0.5692 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1499, allocations: 0.9114 MB / 0.5701 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.1511, allocations: 0.8334 MB / 0.5709 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.1516, allocations: 299 kB / 0.5712 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.1521, allocations: 278.9 kB / 0.5715 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.1521, allocations: 16 kB / 0.5715 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1527, allocations: 319.4 kB / 0.5718 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1529, allocations: 135.5 kB / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.1531, allocations: 240.5 kB / 0.5721 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000834/0.1539, allocations: 0.81 MB / 0.5729 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1539, allocations: 3.938 kB / 0.5729 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.154, allocations: 0 / 0.5729 GB, free: 11.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.154, allocations: 0 / 0.5729 GB, free: 11.65 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.001274/0.1553, allocations: 0.7286 MB / 0.5736 GB, free: 10.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1553, allocations: 12.03 kB / 0.5737 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.719e-05/0.1554, allocations: 70.72 kB / 0.5737 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.1581, allocations: 0.6789 MB / 0.5744 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.1588, allocations: 460.3 kB / 0.5748 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1588, allocations: 21.03 kB / 0.5748 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.1589, allocations: 35.92 kB / 0.5749 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.1605, allocations: 0.8395 MB / 0.5757 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1605, allocations: 0 / 0.5757 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.1606, allocations: 16 kB / 0.5757 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.1607, allocations: 56.59 kB / 0.5758 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.1628, allocations: 0.9389 MB / 0.5767 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.1664, allocations: 2.874 MB / 0.5795 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.168, allocations: 0.5566 MB / 0.58 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.1688, allocations: 316.5 kB / 0.5803 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.783e-05/0.1689, allocations: 89.09 kB / 0.5804 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1689, allocations: 34.56 kB / 0.5805 GB, free: 3.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.169, allocations: 0 / 0.5805 GB, free: 3.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.2349/0.4039, allocations: 3.917 MB / 0.5843 GB, free: 31.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.404, allocations: 54.62 kB / 0.5843 GB, free: 31.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.4046, allocations: 428.6 kB / 0.5847 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.4047, allocations: 33.56 kB / 0.5848 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4048, allocations: 240.1 kB / 0.585 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4049, allocations: 127.7 kB / 0.5851 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.405, allocations: 38.38 kB / 0.5852 GB, free: 30.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.4051, allocations: 349.5 kB / 0.5855 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4061, allocations: 434.8 kB / 0.5859 GB, free: 30.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4072, allocations: 0.5019 MB / 0.5864 GB, free: 30.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.4093, allocations: 0.9337 MB / 0.5873 GB, free: 30.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4093, allocations: 1.875 kB / 0.5873 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006183/0.4155, allocations: 1.866 MB / 0.5891 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/0.4156, allocations: 152.8 kB / 0.5893 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4156, allocations: 2.719 kB / 0.5893 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00475/0.4204, allocations: 1.018 MB / 0.5903 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.421, allocations: 128.6 kB / 0.5904 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009729/0.4307, allocations: 6.198 MB / 0.5965 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/0.4317, allocations: 107.2 kB / 0.5966 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.4318, allocations: 19.75 kB / 0.5966 GB, free: 26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4318, allocations: 7.312 kB / 0.5966 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005188/0.437, allocations: 1.576 MB / 0.5981 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.437, allocations: 7.766 kB / 0.5981 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/0.4403, allocations: 0.7484 MB / 0.5989 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.4409, allocations: 134.7 kB / 0.599 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006706/0.4477, allocations: 5.422 MB / 0.6043 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/0.4484, allocations: 101.8 kB / 0.6044 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4485, allocations: 19.52 kB / 0.6044 GB, free: 21.82 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003659/0.4488, allocations: 343.5 kB / 0.6047 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.4489, allocations: 39.44 kB / 0.6048 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005126/0.4541, allocations: 1.759 MB / 0.6065 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4541, allocations: 5.844 kB / 0.6065 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4541, allocations: 6 kB / 0.6065 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4541, allocations: 4.078 kB / 0.6065 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/0.46, allocations: 2.465 MB / 0.6089 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4601, allocations: 0.9375 kB / 0.6089 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.4604, allocations: 82.64 kB / 0.609 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00379/0.4642, allocations: 0.9425 MB / 0.6099 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.4643, allocations: 6.906 kB / 0.6099 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/0.4717, allocations: 5.87 MB / 0.6156 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4718, allocations: 5.812 kB / 0.6156 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/0.4765, allocations: 1.731 MB / 0.6173 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.4768, allocations: 182.7 kB / 0.6175 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.4768, allocations: 10.16 kB / 0.6175 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.4774, allocations: 89.52 kB / 0.6176 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4776, allocations: 47.69 kB / 0.6177 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.4776, allocations: 8.5 kB / 0.6177 GB, free: 12.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.478, allocations: 320.6 kB / 0.618 GB, free: 12.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.478, allocations: 0 / 0.618 GB, free: 12.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001026/0.479, allocations: 260.8 kB / 0.6182 GB, free: 12.59 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004848/0.4838, allocations: 2.298 MB / 0.6205 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005667/0.4895, allocations: 2.495 MB / 0.6229 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4895, allocations: 0 / 0.6229 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.4918, allocations: 0.9696 MB / 0.6238 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.4925, allocations: 130.6 kB / 0.624 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.5071, allocations: 7.898 MB / 0.6317 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.5076, allocations: 0.9568 MB / 0.6326 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.5081, allocations: 139.3 kB / 0.6327 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.5084, allocations: 139.4 kB / 0.6329 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5084, allocations: 0 / 0.6329 GB, free: 15.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.5451, allocations: 19.47 MB / 0.6519 GB, free: 12.58 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.5453, allocations: 265.8 kB / 0.6522 GB, free: 12.24 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.488, allocations: 2.375 kB / 0.6522 GB, free: 12.24 MB / 478.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/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)