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: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 116.7 kB / 17.08 MB, free: 6.012 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.001876/0.001876, allocations: 195 kB / 18.02 MB, free: 5.094 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7794/0.7794, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 65.23 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005929/0.1358, allocations: 4.828 MB / 0.6374 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1397, allocations: 2.456 MB / 0.6398 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.14, allocations: 23.81 kB / 0.6399 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.1411, allocations: 398 kB / 0.6402 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008782/0.142, allocations: 437.6 kB / 0.6407 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.1428, allocations: 380 kB / 0.641 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009036/0.1437, allocations: 0.9212 MB / 0.6419 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.1442, allocations: 362.4 kB / 0.6423 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.1446, allocations: 342.6 kB / 0.6426 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.1451, allocations: 342.5 kB / 0.6429 GB, free: 9.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.1451, allocations: 40 kB / 0.643 GB, free: 9.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.1458, allocations: 407.1 kB / 0.6434 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.146, allocations: 183.4 kB / 0.6435 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.1462, allocations: 314.2 kB / 0.6438 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008979/0.1471, allocations: 0.8759 MB / 0.6447 GB, free: 8.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1472, allocations: 3.984 kB / 0.6447 GB, free: 8.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1472, allocations: 4 kB / 0.6447 GB, free: 8.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1472, allocations: 0 / 0.6447 GB, free: 8.133 MB / 494.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.001323/0.1485, allocations: 0.9347 MB / 0.6456 GB, free: 7.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1486, allocations: 12.03 kB / 0.6456 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.1498, allocations: 199.9 kB / 0.6458 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.1505, allocations: 0.5334 MB / 0.6463 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1506, allocations: 33.36 kB / 0.6464 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.1506, allocations: 52.27 kB / 0.6464 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1517, allocations: 0.8487 MB / 0.6472 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.1517, allocations: 7.938 kB / 0.6472 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.1518, allocations: 20 kB / 0.6473 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/0.1519, allocations: 72.95 kB / 0.6473 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.1526, allocations: 0.5695 MB / 0.6479 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.1567, allocations: 5.635 MB / 0.6534 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.1573, allocations: 454.8 kB / 0.6538 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.1576, allocations: 228.7 kB / 0.654 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1577, allocations: 8 kB / 0.6541 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1577, allocations: 34.56 kB / 0.6541 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.1577, allocations: 0 / 0.6541 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002393/0.1601, allocations: 1.509 MB / 0.6556 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1602, allocations: 55.69 kB / 0.6556 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.1607, allocations: 495 kB / 0.6561 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1607, allocations: 29.7 kB / 0.6561 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.1609, allocations: 366.8 kB / 0.6565 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.161, allocations: 118.3 kB / 0.6566 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1612, allocations: 110.2 kB / 0.6567 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1613, allocations: 366.8 kB / 0.657 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.1616, allocations: 193.2 kB / 0.6572 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.162, allocations: 451.3 kB / 0.6576 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.1628, allocations: 0.6874 MB / 0.6583 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.1628, allocations: 4 kB / 0.6583 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001186/0.164, allocations: 0.8136 MB / 0.6591 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.164, allocations: 8 kB / 0.6591 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.164, allocations: 11.94 kB / 0.6591 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.1645, allocations: 152.3 kB / 0.6593 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.1649, allocations: 127.7 kB / 0.6594 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.1681, allocations: 4.34 MB / 0.6636 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.1685, allocations: 35.97 kB / 0.6637 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.1686, allocations: 35.98 kB / 0.6637 GB, free: 3.164 MB / 0.4981 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.0002576/0.1688, allocations: 217.6 kB / 0.6639 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.1689, allocations: 59.25 kB / 0.664 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/0.1699, allocations: 0.5891 MB / 0.6645 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1699, allocations: 4 kB / 0.6646 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.17, allocations: 4 kB / 0.6646 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.17, allocations: 0 / 0.6646 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.1716, allocations: 1.271 MB / 0.6658 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1716, allocations: 4.219 kB / 0.6658 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.1719, allocations: 55.89 kB / 0.6659 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.1723, allocations: 140.1 kB / 0.666 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.1723, allocations: 15.92 kB / 0.666 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.1754, allocations: 4.333 MB / 0.6702 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.1754, allocations: 3.938 kB / 0.6702 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.1764, allocations: 0.7043 MB / 0.6709 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.1766, allocations: 168.3 kB / 0.6711 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.1766, allocations: 8 kB / 0.6711 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.1769, allocations: 23.97 kB / 0.6711 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.177, allocations: 39.83 kB / 0.6712 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.177, allocations: 12 kB / 0.6712 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003309/0.1773, allocations: 326.9 kB / 0.6715 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.1774, allocations: 0 / 0.6715 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006268/0.178, allocations: 148 kB / 0.6716 GB, free: 10.43 MB / 0.5137 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.00013/0.1781, allocations: 112.1 kB / 0.6717 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.1794, allocations: 1.036 MB / 0.6727 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1794, allocations: 3.938 kB / 0.6727 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000791/0.1802, allocations: 0.731 MB / 0.6735 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.1812, allocations: 205.2 kB / 0.6736 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1827, allocations: 1.087 MB / 0.6747 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.1831, allocations: 0.9019 MB / 0.6756 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1832, allocations: 43.44 kB / 0.6756 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1832, allocations: 0 / 0.6756 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of Templates: time 0.01883/0.2021, allocations: 18.04 MB / 0.6933 GB, free: 4.051 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)