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.001267/0.001268, allocations: 119.2 kB / 17.09 MB, free: 5.992 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.001238/0.001238, allocations: 197.9 kB / 18.02 MB, free: 5.066 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.232/1.232, allocations: 222.9 MB / 241.7 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.6851/0.6851, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 64.27 kB / 0.5583 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 76.18 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006694/0.1408, allocations: 4.84 MB / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.1448, allocations: 2.448 MB / 0.6398 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/0.1454, allocations: 23.81 kB / 0.6399 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.1467, allocations: 408.1 kB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1479, allocations: 461.7 kB / 0.6407 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.1488, allocations: 381.9 kB / 0.6411 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1499, allocations: 0.9212 MB / 0.642 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.1506, allocations: 354.4 kB / 0.6423 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.1511, allocations: 342.7 kB / 0.6426 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.1517, allocations: 354.4 kB / 0.643 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.1518, allocations: 36 kB / 0.643 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.1525, allocations: 403.1 kB / 0.6434 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1527, allocations: 179.4 kB / 0.6436 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.1531, allocations: 318.2 kB / 0.6439 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.1543, allocations: 0.8721 MB / 0.6447 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1543, allocations: 4 kB / 0.6447 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1543, allocations: 0 / 0.6447 GB, free: 8.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.1543, allocations: 7.938 kB / 0.6447 GB, free: 8.047 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.001645/0.156, allocations: 0.9347 MB / 0.6456 GB, free: 7.062 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.156, allocations: 12.03 kB / 0.6456 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1574, allocations: 199.9 kB / 0.6458 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/0.1582, allocations: 0.5334 MB / 0.6464 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1582, allocations: 33.31 kB / 0.6464 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.1583, allocations: 52.27 kB / 0.6464 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1594, allocations: 0.8448 MB / 0.6473 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.1595, allocations: 7.938 kB / 0.6473 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.1595, allocations: 23.98 kB / 0.6473 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/0.1596, allocations: 72.95 kB / 0.6474 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.1605, allocations: 0.5616 MB / 0.6479 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/0.165, allocations: 5.635 MB / 0.6534 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.1656, allocations: 471.6 kB / 0.6539 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.1659, allocations: 220.7 kB / 0.6541 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.166, allocations: 4 kB / 0.6541 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.166, allocations: 38.56 kB / 0.6541 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.166, allocations: 0 / 0.6541 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002465/0.1685, allocations: 1.513 MB / 0.6556 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.1685, allocations: 55.69 kB / 0.6556 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.169, allocations: 498.9 kB / 0.6561 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1691, allocations: 29.7 kB / 0.6562 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.1693, allocations: 354.8 kB / 0.6565 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.1694, allocations: 118.3 kB / 0.6566 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.1696, allocations: 114.2 kB / 0.6567 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1697, allocations: 366.8 kB / 0.6571 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.17, allocations: 201.1 kB / 0.6573 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.1704, allocations: 439.3 kB / 0.6577 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.1713, allocations: 0.6952 MB / 0.6584 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.1713, allocations: 4 kB / 0.6584 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001284/0.1726, allocations: 0.8014 MB / 0.6591 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1726, allocations: 11.94 kB / 0.6591 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.1727, allocations: 8 kB / 0.6592 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/0.1732, allocations: 164.9 kB / 0.6593 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.1736, allocations: 115.8 kB / 0.6594 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.1769, allocations: 4.347 MB / 0.6637 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.1773, allocations: 36.12 kB / 0.6637 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.1773, allocations: 28 kB / 0.6637 GB, free: 3.086 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.0002537/0.1776, allocations: 217.5 kB / 0.6639 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.1777, allocations: 59.25 kB / 0.664 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009822/0.1787, allocations: 0.5968 MB / 0.6646 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1787, allocations: 4 kB / 0.6646 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1787, allocations: 4 kB / 0.6646 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1787, allocations: 0 / 0.6646 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.1804, allocations: 1.267 MB / 0.6658 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1804, allocations: 0 / 0.6658 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.1807, allocations: 59.89 kB / 0.6659 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.1811, allocations: 140.4 kB / 0.666 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.1811, allocations: 11.94 kB / 0.666 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.1843, allocations: 4.345 MB / 0.6703 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1843, allocations: 0 / 0.6703 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009586/0.1853, allocations: 0.7121 MB / 0.671 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1855, allocations: 164.3 kB / 0.6711 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.1855, allocations: 8 kB / 0.6711 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.1858, allocations: 27.97 kB / 0.6712 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.1859, allocations: 35.83 kB / 0.6712 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1859, allocations: 8 kB / 0.6712 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003463/0.1863, allocations: 330.9 kB / 0.6715 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1863, allocations: 4 kB / 0.6715 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005846/0.1869, allocations: 140 kB / 0.6716 GB, free: 10.34 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.0001403/0.187, allocations: 115.4 kB / 0.6718 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.1884, allocations: 1.036 MB / 0.6728 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1884, allocations: 3.938 kB / 0.6728 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.1893, allocations: 0.7263 MB / 0.6735 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1903, allocations: 206.2 kB / 0.6737 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1919, allocations: 1.077 MB / 0.6747 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.1924, allocations: 0.9019 MB / 0.6756 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1926, allocations: 43.44 kB / 0.6757 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.1926, allocations: 4 kB / 0.6757 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.02116/0.2137, allocations: 18.04 MB / 0.6933 GB, free: 3.969 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)