Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.00128/0.00128, allocations: 105.5 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8214/0.8214, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.62 kB / 0.5735 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1346, allocations: 78.86 MB / 0.6505 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006389/0.1411, allocations: 4.832 MB / 0.6553 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.1451, allocations: 2.463 MB / 0.6577 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1453, allocations: 23.81 kB / 0.6577 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1465, allocations: 397.9 kB / 0.6581 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009178/0.1474, allocations: 449.6 kB / 0.6585 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.1482, allocations: 374.2 kB / 0.6589 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.1492, allocations: 0.9134 MB / 0.6598 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.1497, allocations: 362.7 kB / 0.6601 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.1502, allocations: 338.6 kB / 0.6604 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.1506, allocations: 346.5 kB / 0.6607 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.1507, allocations: 40 kB / 0.6608 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.1514, allocations: 399.1 kB / 0.6612 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.1516, allocations: 179.4 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.1519, allocations: 326.2 kB / 0.6617 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1529, allocations: 0.887 MB / 0.6625 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1529, allocations: 0 / 0.6625 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1529, allocations: 0 / 0.6625 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.153, allocations: 0 / 0.6625 GB, free: 7.422 MB / 0.4981 GB 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.00139/0.1543, allocations: 0.961 MB / 0.6635 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1544, allocations: 8.031 kB / 0.6635 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.1545, allocations: 90.7 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.1558, allocations: 204.2 kB / 0.6637 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007828/0.1566, allocations: 0.5378 MB / 0.6643 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1566, allocations: 37.36 kB / 0.6643 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.1567, allocations: 48.33 kB / 0.6644 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1578, allocations: 0.8522 MB / 0.6652 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1579, allocations: 7.875 kB / 0.6652 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.1579, allocations: 23.98 kB / 0.6652 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-05/0.158, allocations: 68.95 kB / 0.6653 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.1589, allocations: 0.5616 MB / 0.6658 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004653/0.1636, allocations: 5.651 MB / 0.6713 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.1643, allocations: 466.1 kB / 0.6718 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.1646, allocations: 220.7 kB / 0.672 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1646, allocations: 4 kB / 0.672 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1647, allocations: 42.56 kB / 0.672 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.1647, allocations: 0 / 0.672 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002654/0.1673, allocations: 1.517 MB / 0.6735 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1674, allocations: 55.69 kB / 0.6736 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.1679, allocations: 0.4911 MB / 0.6741 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.168, allocations: 29.7 kB / 0.6741 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.1683, allocations: 363.7 kB / 0.6744 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1684, allocations: 127 kB / 0.6746 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.1685, allocations: 114.2 kB / 0.6747 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1687, allocations: 366.7 kB / 0.675 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.169, allocations: 193.2 kB / 0.6752 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.1695, allocations: 451.3 kB / 0.6756 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.1704, allocations: 0.6877 MB / 0.6763 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1704, allocations: 4 kB / 0.6763 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001339/0.1718, allocations: 0.8098 MB / 0.6771 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1718, allocations: 12.19 kB / 0.6771 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1718, allocations: 12 kB / 0.6771 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.1723, allocations: 152.1 kB / 0.6773 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.1728, allocations: 123.8 kB / 0.6774 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.1764, allocations: 4.345 MB / 0.6816 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1768, allocations: 35.97 kB / 0.6817 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.1769, allocations: 28 kB / 0.6817 GB, free: 2.285 MB / 0.5137 GB 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.0002746/0.1772, allocations: 216.6 kB / 0.6819 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.1773, allocations: 67.61 kB / 0.682 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1784, allocations: 0.5971 MB / 0.6825 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1784, allocations: 0 / 0.6825 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1784, allocations: 4 kB / 0.6825 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1784, allocations: 0 / 0.6825 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.1803, allocations: 1.262 MB / 0.6838 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1803, allocations: 0 / 0.6838 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.1806, allocations: 55.95 kB / 0.6838 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.1811, allocations: 140.3 kB / 0.684 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1811, allocations: 11.94 kB / 0.684 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.1847, allocations: 4.344 MB / 0.6882 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.1847, allocations: 11.92 kB / 0.6882 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1858, allocations: 0.7125 MB / 0.6889 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.186, allocations: 164.7 kB / 0.6891 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.1861, allocations: 11.95 kB / 0.6891 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.1863, allocations: 23.97 kB / 0.6891 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.1864, allocations: 31.91 kB / 0.6891 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1864, allocations: 12 kB / 0.6892 GB, free: 10 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003706/0.1868, allocations: 338.8 kB / 0.6895 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1868, allocations: 0 / 0.6895 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006328/0.1875, allocations: 140 kB / 0.6896 GB, free: 9.535 MB / 0.5294 GB 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.001361/0.1888, allocations: 1.269 MB / 0.6909 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.1903, allocations: 1.04 MB / 0.6919 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1904, allocations: 4 kB / 0.6919 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009162/0.1913, allocations: 0.7392 MB / 0.6926 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.1923, allocations: 213.8 kB / 0.6928 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.1989, allocations: 5.096 MB / 0.6978 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.1994, allocations: 0.9059 MB / 0.6987 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.1998, allocations: 117.3 kB / 0.6988 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.2, allocations: 195.4 kB / 0.699 GB, free: 15.32 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2, allocations: 0 / 0.699 GB, free: 15.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/0.2447, allocations: 12.69 MB / 0.7114 GB, free: 2.863 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.42, allocations: 12.23 kB / 0.7114 GB, free: 2.855 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)