Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.0007536/0.0007536, allocations: 98.58 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.0007858/0.0007859, allocations: 180.3 kB / 16.92 MB, free: 6.688 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.261/1.261, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6451/0.6451, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 12.78 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004707/0.1453, allocations: 4.497 MB / 0.5644 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.149, allocations: 2.468 MB / 0.5669 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.1492, allocations: 27.81 kB / 0.5669 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1495, allocations: 87.16 kB / 0.567 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.1504, allocations: 414.1 kB / 0.5674 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.1511, allocations: 362.7 kB / 0.5677 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009787/0.1521, allocations: 1.136 MB / 0.5688 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.1528, allocations: 468.1 kB / 0.5693 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.1532, allocations: 298.5 kB / 0.5695 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.1536, allocations: 342.4 kB / 0.5699 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.1536, allocations: 20 kB / 0.5699 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.1543, allocations: 491 kB / 0.5704 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1545, allocations: 159.5 kB / 0.5705 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1547, allocations: 323.9 kB / 0.5708 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.1555, allocations: 0.8915 MB / 0.5717 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1555, allocations: 0 / 0.5717 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1555, allocations: 0 / 0.5717 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1555, allocations: 0 / 0.5717 GB, free: 12.95 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001107/0.1566, allocations: 0.8258 MB / 0.5725 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1567, allocations: 15.97 kB / 0.5725 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/0.1568, allocations: 90.69 kB / 0.5726 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.158, allocations: 203.8 kB / 0.5728 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.1586, allocations: 0.4944 MB / 0.5733 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1586, allocations: 37.36 kB / 0.5733 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.1587, allocations: 40.38 kB / 0.5734 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.1597, allocations: 0.8522 MB / 0.5742 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1597, allocations: 7.938 kB / 0.5742 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.1597, allocations: 23.98 kB / 0.5742 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.324e-05/0.1598, allocations: 68.95 kB / 0.5743 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.1606, allocations: 0.5616 MB / 0.5748 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.1644, allocations: 5.654 MB / 0.5803 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.165, allocations: 462.2 kB / 0.5808 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.1653, allocations: 228.7 kB / 0.581 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1653, allocations: 3.938 kB / 0.581 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1653, allocations: 46.55 kB / 0.5811 GB, free: 2.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.1653, allocations: 0 / 0.5811 GB, free: 2.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002306/0.1676, allocations: 1.512 MB / 0.5825 GB, free: 1.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1677, allocations: 51.69 kB / 0.5826 GB, free: 1.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.1681, allocations: 0.4991 MB / 0.5831 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1682, allocations: 37.7 kB / 0.5831 GB, free: 476 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.1684, allocations: 362.8 kB / 0.5835 GB, free: 108 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2277/0.3961, allocations: 112.8 kB / 0.5836 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3962, allocations: 51.38 kB / 0.5836 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3964, allocations: 365.7 kB / 0.584 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.3968, allocations: 194.4 kB / 0.5841 GB, free: 30.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.3972, allocations: 444.7 kB / 0.5846 GB, free: 30.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.398, allocations: 0.6937 MB / 0.5852 GB, free: 30.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.398, allocations: 4.578 kB / 0.5852 GB, free: 30.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0014/0.3994, allocations: 0.8149 MB / 0.586 GB, free: 30.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3995, allocations: 8.75 kB / 0.5861 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3995, allocations: 9.922 kB / 0.5861 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.4, allocations: 149.1 kB / 0.5862 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.4005, allocations: 125.2 kB / 0.5863 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.403, allocations: 4.038 MB / 0.5903 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.4035, allocations: 35.19 kB / 0.5903 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.4035, allocations: 31.44 kB / 0.5903 GB, free: 26.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002621/0.4038, allocations: 221 kB / 0.5905 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4039, allocations: 61.91 kB / 0.5906 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.405, allocations: 0.5949 MB / 0.5912 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.405, allocations: 3.219 kB / 0.5912 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.405, allocations: 2.406 kB / 0.5912 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.405, allocations: 1.688 kB / 0.5912 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.4069, allocations: 1.262 MB / 0.5924 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4069, allocations: 1.062 kB / 0.5924 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.4072, allocations: 54.09 kB / 0.5925 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.4076, allocations: 151.3 kB / 0.5926 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.4076, allocations: 8.266 kB / 0.5926 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.4099, allocations: 4.024 MB / 0.5966 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4099, allocations: 2.188 kB / 0.5966 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.4111, allocations: 0.707 MB / 0.5972 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.4114, allocations: 170.2 kB / 0.5974 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.4115, allocations: 13.09 kB / 0.5974 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.4118, allocations: 27.05 kB / 0.5974 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4119, allocations: 33.72 kB / 0.5975 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.412, allocations: 12.28 kB / 0.5975 GB, free: 20.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004941/0.4125, allocations: 337 kB / 0.5978 GB, free: 20.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4125, allocations: 0 / 0.5978 GB, free: 20.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.4132, allocations: 142.3 kB / 0.5979 GB, free: 20.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.4144, allocations: 1.269 MB / 0.5992 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4158, allocations: 1.037 MB / 0.6002 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4158, allocations: 1.219 kB / 0.6002 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.4165, allocations: 0.7333 MB / 0.6009 GB, free: 18.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4177, allocations: 188.5 kB / 0.6011 GB, free: 18.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.4249, allocations: 5.473 MB / 0.6064 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.4254, allocations: 0.9099 MB / 0.6073 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004763/0.4259, allocations: 116.1 kB / 0.6074 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.4262, allocations: 191.8 kB / 0.6076 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4262, allocations: 0.6875 kB / 0.6076 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.457, allocations: 12.13 MB / 0.6195 GB, free: 9.848 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.4572, allocations: 249.4 kB / 0.6197 GB, free: 9.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.31, allocations: 4 kB / 0.6197 GB, free: 9.586 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)