Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 119.8 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.001066/0.001066, allocations: 196.6 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.342/1.342, 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.8743/0.8743, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.64 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1422, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005778/0.1481, allocations: 4.335 MB / 0.6369 GB, free: 96 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.1512, allocations: 1.858 MB / 0.6388 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1516, allocations: 8 kB / 0.6388 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.1533, allocations: 0.6093 MB / 0.6394 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007228/0.1541, allocations: 258.6 kB / 0.6396 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.1548, allocations: 255.3 kB / 0.6399 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.1556, allocations: 0.6073 MB / 0.6404 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.1564, allocations: 466.8 kB / 0.6409 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1568, allocations: 251.1 kB / 0.6411 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.1574, allocations: 271 kB / 0.6414 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.1575, allocations: 36 kB / 0.6414 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.158, allocations: 247.5 kB / 0.6417 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.1581, allocations: 155.5 kB / 0.6418 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.1584, allocations: 211 kB / 0.642 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.1592, allocations: 0.6191 MB / 0.6426 GB, free: 10.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1592, allocations: 0 / 0.6426 GB, free: 10.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1592, allocations: 4 kB / 0.6426 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.1593, allocations: 3.938 kB / 0.6426 GB, free: 10.26 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001554/0.1608, allocations: 0.7175 MB / 0.6433 GB, free: 9.492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1609, allocations: 8.031 kB / 0.6433 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.1619, allocations: 156.2 kB / 0.6435 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.1625, allocations: 334.5 kB / 0.6438 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.1625, allocations: 33.31 kB / 0.6438 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.1626, allocations: 28.38 kB / 0.6439 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1639, allocations: 0.5356 MB / 0.6444 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1639, allocations: 4 kB / 0.6444 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.164, allocations: 16 kB / 0.6444 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.164, allocations: 28.64 kB / 0.6444 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.1646, allocations: 390.2 kB / 0.6448 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.1672, allocations: 2.399 MB / 0.6471 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.1677, allocations: 276.5 kB / 0.6474 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1679, allocations: 104.8 kB / 0.6475 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1679, allocations: 4 kB / 0.6475 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.168, allocations: 34.56 kB / 0.6475 GB, free: 4.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.168, allocations: 0 / 0.6475 GB, free: 4.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002204/0.1702, allocations: 1.13 MB / 0.6486 GB, free: 3.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1702, allocations: 51.41 kB / 0.6487 GB, free: 3.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.1706, allocations: 304.4 kB / 0.649 GB, free: 3.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1706, allocations: 33.7 kB / 0.649 GB, free: 3.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1708, allocations: 223.6 kB / 0.6492 GB, free: 2.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.1708, allocations: 86.75 kB / 0.6493 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.834e-05/0.1709, allocations: 62.03 kB / 0.6494 GB, free: 2.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.171, allocations: 334.8 kB / 0.6497 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1712, allocations: 108.6 kB / 0.6498 GB, free: 2.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1714, allocations: 187.7 kB / 0.65 GB, free: 2.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.1719, allocations: 317 kB / 0.6503 GB, free: 1.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1719, allocations: 4 kB / 0.6503 GB, free: 1.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007212/0.1726, allocations: 446.5 kB / 0.6507 GB, free: 1.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1726, allocations: 11.98 kB / 0.6507 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1726, allocations: 0 / 0.6507 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.173, allocations: 102.6 kB / 0.6508 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1733, allocations: 63.91 kB / 0.6509 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.1765, allocations: 4.395 MB / 0.6552 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1767, allocations: 15.98 kB / 0.6552 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1767, allocations: 12 kB / 0.6552 GB, free: 12.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.177, allocations: 177.8 kB / 0.6554 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.177, allocations: 39.5 kB / 0.6554 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.1771, allocations: 42.31 kB / 0.6554 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1772, allocations: 4 kB / 0.6554 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1772, allocations: 0 / 0.6554 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1772, allocations: 0 / 0.6554 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.1776, allocations: 397.4 kB / 0.6558 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1777, allocations: 0 / 0.6558 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.1778, allocations: 43.91 kB / 0.6559 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.1781, allocations: 90.44 kB / 0.656 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1782, allocations: 4 kB / 0.656 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.1812, allocations: 4.384 MB / 0.6602 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1812, allocations: 4.156 kB / 0.6602 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.182, allocations: 0.5502 MB / 0.6608 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.1821, allocations: 132.7 kB / 0.6609 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1822, allocations: 4 kB / 0.6609 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1824, allocations: 16.05 kB / 0.6609 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1824, allocations: 15.98 kB / 0.6609 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1825, allocations: 4 kB / 0.6609 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002025/0.1827, allocations: 215.1 kB / 0.6611 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1827, allocations: 0 / 0.6611 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000449/0.1831, allocations: 99.94 kB / 0.6612 GB, free: 5.617 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.1833, allocations: 103.2 kB / 0.6613 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.1841, allocations: 0.6057 MB / 0.6619 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1842, allocations: 4.062 kB / 0.6619 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.1846, allocations: 476 kB / 0.6624 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.1852, allocations: 84.23 kB / 0.6625 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1864, allocations: 0.7482 MB / 0.6632 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1868, allocations: 0.8388 MB / 0.664 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.1869, allocations: 23.44 kB / 0.664 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1869, allocations: 4 kB / 0.664 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.01146/0.1984, allocations: 8.688 MB / 0.6725 GB, free: 9.926 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)