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: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 116.1 kB / 17.09 MB, free: 5.957 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.001398/0.001398, allocations: 197.5 kB / 18.03 MB, free: 5.043 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.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6858/0.6858, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.48 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1533, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004771/0.1581, allocations: 3.718 MB / 0.6364 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1608, allocations: 1.8 MB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.161, allocations: 15.94 kB / 0.6381 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.1618, allocations: 270.6 kB / 0.6384 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.1623, allocations: 294.5 kB / 0.6387 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.1628, allocations: 254.2 kB / 0.6389 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.1634, allocations: 0.601 MB / 0.6395 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.1639, allocations: 255.1 kB / 0.6398 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.1642, allocations: 243 kB / 0.64 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.1645, allocations: 235 kB / 0.6402 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.1646, allocations: 28 kB / 0.6402 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.165, allocations: 275.3 kB / 0.6405 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1652, allocations: 123.6 kB / 0.6406 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1654, allocations: 210.9 kB / 0.6408 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.166, allocations: 0.5917 MB / 0.6414 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.166, allocations: 0 / 0.6414 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.166, allocations: 0 / 0.6414 GB, free: 11.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.166, allocations: 0 / 0.6414 GB, free: 11.53 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001055/0.1671, allocations: 0.7362 MB / 0.6421 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1671, allocations: 8.031 kB / 0.6421 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/0.1679, allocations: 132.2 kB / 0.6423 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.1685, allocations: 407.6 kB / 0.6426 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1685, allocations: 28.97 kB / 0.6427 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.1685, allocations: 32.36 kB / 0.6427 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.1693, allocations: 0.5472 MB / 0.6432 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1694, allocations: 4 kB / 0.6432 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.1694, allocations: 19.98 kB / 0.6433 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/0.1695, allocations: 40.53 kB / 0.6433 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.1701, allocations: 409.7 kB / 0.6437 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.1727, allocations: 3.333 MB / 0.6469 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.1733, allocations: 338.3 kB / 0.6473 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1736, allocations: 180.7 kB / 0.6474 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1737, allocations: 8 kB / 0.6474 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1737, allocations: 34.56 kB / 0.6475 GB, free: 4.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.1737, allocations: 0 / 0.6475 GB, free: 4.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.001948/0.1756, allocations: 1.062 MB / 0.6485 GB, free: 3.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1757, allocations: 55.64 kB / 0.6486 GB, free: 3.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.176, allocations: 333.7 kB / 0.6489 GB, free: 3.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.176, allocations: 37.64 kB / 0.6489 GB, free: 3.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1762, allocations: 243.5 kB / 0.6492 GB, free: 3.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.1763, allocations: 98.67 kB / 0.6492 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1764, allocations: 81.94 kB / 0.6493 GB, free: 2.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1765, allocations: 346.8 kB / 0.6497 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1768, allocations: 144.8 kB / 0.6498 GB, free: 2.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.1772, allocations: 290.5 kB / 0.6501 GB, free: 2.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.1778, allocations: 480.6 kB / 0.6505 GB, free: 1.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1778, allocations: 4 kB / 0.6505 GB, free: 1.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009156/0.1787, allocations: 0.558 MB / 0.6511 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1787, allocations: 12.61 kB / 0.6511 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1787, allocations: 7.938 kB / 0.6511 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.179, allocations: 90.45 kB / 0.6512 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1794, allocations: 87.88 kB / 0.6513 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1794, allocations: 11.94 kB / 0.6513 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.1796, allocations: 27.91 kB / 0.6513 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.1796, allocations: 20 kB / 0.6513 GB, free: 0.6523 MB / 494.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.0001779/0.1798, allocations: 181.7 kB / 0.6515 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.1799, allocations: 43.47 kB / 0.6515 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008295/0.1807, allocations: 456.2 kB / 0.652 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1808, allocations: 0 / 0.652 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1808, allocations: 0 / 0.652 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1809, allocations: 148.6 kB / 0.6521 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.181, allocations: 8 kB / 0.6521 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1812, allocations: 19.97 kB / 0.6521 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.1812, allocations: 19.97 kB / 0.6522 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001023/0.1823, allocations: 0.5225 MB / 0.6527 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009116/0.1832, allocations: 0.7022 MB / 0.6534 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002676/0.1835, allocations: 147.9 kB / 0.6535 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002074/0.1837, allocations: 235.2 kB / 0.6537 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Backend: time 3.81e-07/0.1837, allocations: 0 / 0.6537 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.185, allocations: 0.7441 MB / 0.6545 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00144/0.1864, allocations: 1.197 MB / 0.6556 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.01094/0.1974, allocations: 6.553 MB / 0.662 GB, free: 5.562 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)