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.001454/0.001454, allocations: 120.6 kB / 17.09 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.001295/0.001295, allocations: 193.8 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.368/1.368, 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.8332/0.8332, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.86 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00474/0.1342, allocations: 3.722 MB / 0.6364 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.137, allocations: 1.808 MB / 0.6381 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1372, allocations: 11.94 kB / 0.6381 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.1381, allocations: 258.7 kB / 0.6384 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.1387, allocations: 294.5 kB / 0.6387 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.1392, allocations: 255.5 kB / 0.6389 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.1398, allocations: 0.6049 MB / 0.6395 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.1402, allocations: 251.1 kB / 0.6397 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1406, allocations: 247 kB / 0.64 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.1409, allocations: 239 kB / 0.6402 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.1409, allocations: 24 kB / 0.6402 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.1414, allocations: 275.3 kB / 0.6405 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1415, allocations: 119.6 kB / 0.6406 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1417, allocations: 210.8 kB / 0.6408 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.1423, allocations: 0.5839 MB / 0.6414 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1423, allocations: 4 kB / 0.6414 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1423, allocations: 4 kB / 0.6414 GB, free: 11.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1423, allocations: 0 / 0.6414 GB, free: 11.5 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.001076/0.1434, allocations: 0.7323 MB / 0.6421 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1434, allocations: 16.03 kB / 0.6421 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.1443, allocations: 136.2 kB / 0.6423 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.1448, allocations: 399.7 kB / 0.6426 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1448, allocations: 28.95 kB / 0.6427 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.1449, allocations: 28.38 kB / 0.6427 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1457, allocations: 0.5511 MB / 0.6432 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1457, allocations: 0 / 0.6432 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1457, allocations: 23.92 kB / 0.6432 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/0.1458, allocations: 40.53 kB / 0.6433 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.1464, allocations: 413.7 kB / 0.6437 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.149, allocations: 3.326 MB / 0.6469 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.1496, allocations: 346.3 kB / 0.6473 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1499, allocations: 176.8 kB / 0.6474 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.15, allocations: 4 kB / 0.6474 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.15, allocations: 34.56 kB / 0.6475 GB, free: 4.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.943e-06/0.15, allocations: 7.938 kB / 0.6475 GB, free: 4.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.001897/0.1519, allocations: 1.062 MB / 0.6485 GB, free: 3.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1519, allocations: 55.64 kB / 0.6486 GB, free: 3.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1522, allocations: 333.7 kB / 0.6489 GB, free: 3.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1523, allocations: 29.64 kB / 0.6489 GB, free: 3.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1524, allocations: 251.4 kB / 0.6491 GB, free: 3.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.1525, allocations: 94.73 kB / 0.6492 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1526, allocations: 77.95 kB / 0.6493 GB, free: 2.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1528, allocations: 350.8 kB / 0.6496 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.153, allocations: 144.8 kB / 0.6498 GB, free: 2.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.1535, allocations: 290.5 kB / 0.6501 GB, free: 1.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.1541, allocations: 480.6 kB / 0.6505 GB, free: 1.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1541, allocations: 4 kB / 0.6505 GB, free: 1.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009209/0.1551, allocations: 0.558 MB / 0.6511 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1551, allocations: 15.92 kB / 0.6511 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1551, allocations: 7.938 kB / 0.6511 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.1554, allocations: 87.08 kB / 0.6512 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1557, allocations: 91.88 kB / 0.6513 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.1558, allocations: 11.94 kB / 0.6513 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.156, allocations: 27.91 kB / 0.6513 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1561, allocations: 20 kB / 0.6513 GB, free: 0.6172 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.000189/0.1563, allocations: 181.6 kB / 0.6515 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1563, allocations: 39.53 kB / 0.6515 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.1572, allocations: 460 kB / 0.652 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1572, allocations: 4 kB / 0.652 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1572, allocations: 0 / 0.652 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1572, allocations: 0 / 0.652 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1586, allocations: 0.9708 MB / 0.6529 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1586, allocations: 0 / 0.6529 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.1588, allocations: 51.89 kB / 0.653 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.1591, allocations: 86.59 kB / 0.6531 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1591, allocations: 4 kB / 0.6531 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1591, allocations: 4 kB / 0.6531 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1591, allocations: 0 / 0.6531 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.16, allocations: 0.5467 MB / 0.6536 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1601, allocations: 136.6 kB / 0.6537 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.1602, allocations: 11.94 kB / 0.6537 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.1604, allocations: 23.91 kB / 0.6538 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.1605, allocations: 27.91 kB / 0.6538 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1606, allocations: 4 kB / 0.6538 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002189/0.1608, allocations: 239.2 kB / 0.654 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1608, allocations: 0 / 0.654 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004105/0.1612, allocations: 88 kB / 0.6541 GB, free: 13.61 MB / 0.4981 GB 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.0001591/0.1614, allocations: 115.1 kB / 0.6542 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008939/0.1623, allocations: 0.631 MB / 0.6548 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1623, allocations: 0 / 0.6548 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.1627, allocations: 435 kB / 0.6552 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.1634, allocations: 134.4 kB / 0.6554 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1646, allocations: 0.7511 MB / 0.6561 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.165, allocations: 0.8273 MB / 0.6569 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1651, allocations: 39.42 kB / 0.657 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.1651, allocations: 0 / 0.657 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.01163/0.1767, allocations: 9.465 MB / 0.6662 GB, free: 1.059 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)