Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001021/0.001021, allocations: 99.05 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.001037/0.001037, allocations: 182 kB / 16.92 MB, free: 6.781 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.288/1.288, 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.6602/0.6602, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 8 kB / 496 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 77.53 MB / 0.5601 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003493/0.1383, allocations: 3.394 MB / 0.5634 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1406, allocations: 1.77 MB / 0.5651 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1408, allocations: 15.88 kB / 0.5651 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.141, allocations: 55.5 kB / 0.5652 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.1415, allocations: 274.7 kB / 0.5654 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.1419, allocations: 227.6 kB / 0.5656 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.1426, allocations: 0.7375 MB / 0.5664 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.1431, allocations: 370.9 kB / 0.5667 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1434, allocations: 203 kB / 0.5669 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1436, allocations: 223 kB / 0.5671 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.1437, allocations: 12 kB / 0.5671 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.1441, allocations: 339.3 kB / 0.5675 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1442, allocations: 103.6 kB / 0.5676 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.1444, allocations: 220.5 kB / 0.5678 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1449, allocations: 0.588 MB / 0.5683 GB, free: 356 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1449, allocations: 4 kB / 0.5683 GB, free: 352 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1449, allocations: 0 / 0.5683 GB, free: 352 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1449, allocations: 3.938 kB / 0.5684 GB, free: 348 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000896/0.1458, allocations: 0.664 MB / 0.569 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1459, allocations: 12.03 kB / 0.569 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.054e-05/0.1459, allocations: 74.7 kB / 0.5691 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007842/0.1467, allocations: 132.2 kB / 0.5692 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.1471, allocations: 375.6 kB / 0.5696 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1472, allocations: 21.02 kB / 0.5696 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1472, allocations: 32.28 kB / 0.5696 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.1479, allocations: 0.5626 MB / 0.5702 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.148, allocations: 0 / 0.5702 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.148, allocations: 16 kB / 0.5702 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.1481, allocations: 44.47 kB / 0.5702 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.1487, allocations: 417.8 kB / 0.5706 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.1511, allocations: 3.341 MB / 0.5739 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.1517, allocations: 342.4 kB / 0.5742 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.152, allocations: 186.2 kB / 0.5744 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.152, allocations: 8 kB / 0.5744 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.152, allocations: 38.56 kB / 0.5744 GB, free: 9.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.152, allocations: 0 / 0.5744 GB, free: 9.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001833/0.1539, allocations: 1.084 MB / 0.5755 GB, free: 8.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1539, allocations: 55.64 kB / 0.5755 GB, free: 8.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1542, allocations: 341.5 kB / 0.5759 GB, free: 8.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1542, allocations: 33.7 kB / 0.5759 GB, free: 8.078 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1544, allocations: 247.5 kB / 0.5761 GB, free: 7.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.1544, allocations: 90.66 kB / 0.5762 GB, free: 7.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1545, allocations: 37.7 kB / 0.5763 GB, free: 7.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1546, allocations: 350.8 kB / 0.5766 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.1549, allocations: 152.8 kB / 0.5767 GB, free: 7.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.1552, allocations: 294.5 kB / 0.577 GB, free: 6.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.1558, allocations: 492.6 kB / 0.5775 GB, free: 6.301 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1559, allocations: 7.938 kB / 0.5775 GB, free: 6.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008911/0.1568, allocations: 0.5736 MB / 0.5781 GB, free: 5.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1568, allocations: 13.86 kB / 0.5781 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1568, allocations: 4 kB / 0.5781 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.1571, allocations: 87.05 kB / 0.5782 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.1574, allocations: 91.88 kB / 0.5782 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.1574, allocations: 19.86 kB / 0.5783 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.1577, allocations: 27.97 kB / 0.5783 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.1577, allocations: 20 kB / 0.5783 GB, free: 5.438 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.1579, allocations: 177.6 kB / 0.5785 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.1579, allocations: 43.52 kB / 0.5785 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.1588, allocations: 475.9 kB / 0.579 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1588, allocations: 8 kB / 0.579 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1588, allocations: 4 kB / 0.579 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1588, allocations: 3.984 kB / 0.579 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.1601, allocations: 0.9638 MB / 0.5799 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1601, allocations: 0 / 0.5799 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.1603, allocations: 59.89 kB / 0.58 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.1605, allocations: 78.5 kB / 0.5801 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1606, allocations: 12.09 kB / 0.5801 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1606, allocations: 0 / 0.5801 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1606, allocations: 4 kB / 0.5801 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.1613, allocations: 0.5468 MB / 0.5806 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1615, allocations: 140.6 kB / 0.5807 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.1616, allocations: 11.94 kB / 0.5808 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1618, allocations: 31.84 kB / 0.5808 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.1619, allocations: 23.97 kB / 0.5808 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1619, allocations: 8 kB / 0.5808 GB, free: 2.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.1621, allocations: 235.2 kB / 0.581 GB, free: 2.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1621, allocations: 0 / 0.581 GB, free: 2.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.1625, allocations: 88 kB / 0.5811 GB, free: 2.387 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/0.1636, allocations: 1.108 MB / 0.5822 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008609/0.1645, allocations: 0.6431 MB / 0.5828 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1645, allocations: 4 kB / 0.5828 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.1649, allocations: 429.7 kB / 0.5833 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2133/0.3782, allocations: 112.5 kB / 0.5834 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.3827, allocations: 3.925 MB / 0.5872 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.383, allocations: 0.8264 MB / 0.588 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.3833, allocations: 81.94 kB / 0.5881 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3835, allocations: 126.6 kB / 0.5882 GB, free: 28.67 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3835, allocations: 0 / 0.5882 GB, free: 28.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3424/0.7259, allocations: 7.772 MB / 0.5958 GB, free: 28.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.7261, allocations: 244.6 kB / 0.596 GB, free: 27.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.39, allocations: 1.031 kB / 0.596 GB, free: 27.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)