Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 114.1 kB / 17.13 MB, free: 6.008 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.001545/0.001545, allocations: 197.8 kB / 18.07 MB, free: 5.078 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: 225.6 MB / 244.5 MB, free: 14.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7667/0.7667, allocations: 127 MB / 424.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.53 kB / 0.5884 GB, free: 22.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1392, allocations: 82.93 MB / 0.6694 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02555/0.1647, allocations: 22.85 MB / 0.6917 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.1904, allocations: 17.75 MB / 0.709 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.1936, allocations: 111.4 kB / 0.7091 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.2041, allocations: 4.211 MB / 0.7132 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.2148, allocations: 3.574 MB / 0.7167 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.2182, allocations: 1.321 MB / 0.718 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008162/0.2264, allocations: 5.796 MB / 0.7237 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003826/0.2302, allocations: 2.8 MB / 0.7264 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.2343, allocations: 2.484 MB / 0.7288 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.2388, allocations: 2.51 MB / 0.7313 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006865/0.2395, allocations: 372 kB / 0.7316 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.2417, allocations: 1.049 MB / 0.7327 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.2429, allocations: 1.23 MB / 0.7339 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.2452, allocations: 1.986 MB / 0.7358 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006425/0.2516, allocations: 5.207 MB / 0.7409 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2516, allocations: 0 / 0.7409 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2516, allocations: 0 / 0.7409 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001097/0.2517, allocations: 0 / 0.7409 GB, free: 12.98 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01031/0.262, allocations: 4.734 MB / 0.7455 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.262, allocations: 8.031 kB / 0.7455 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.2781, allocations: 3.287 MB / 0.7487 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.2829, allocations: 2.246 MB / 0.7509 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004374/0.2833, allocations: 474.3 kB / 0.7514 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.2839, allocations: 231.9 kB / 0.7516 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3122/0.596, allocations: 4.81 MB / 0.7563 GB, free: 73.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/0.5961, allocations: 1.062 kB / 0.7563 GB, free: 73.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.5964, allocations: 102.8 kB / 0.7564 GB, free: 73.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002249/0.5966, allocations: 172.3 kB / 0.7566 GB, free: 73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.6111, allocations: 5.198 MB / 0.7616 GB, free: 71.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.6325, allocations: 14.4 MB / 0.7757 GB, free: 61.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009486/0.642, allocations: 3.282 MB / 0.7789 GB, free: 60.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.6456, allocations: 1.374 MB / 0.7802 GB, free: 59.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.6458, allocations: 19.33 kB / 0.7803 GB, free: 59.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/0.6501, allocations: 1.789 MB / 0.782 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 5.38e-06/0.6501, allocations: 0 / 0.782 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.119/0.7691, allocations: 28.21 MB / 0.8096 GB, free: 38.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7692, allocations: 0.4928 MB / 0.81 GB, free: 37.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.772, allocations: 2.299 MB / 0.8123 GB, free: 35.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.7722, allocations: 81.7 kB / 0.8124 GB, free: 35.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000799/0.773, allocations: 1.454 MB / 0.8138 GB, free: 34.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/0.7736, allocations: 0.8586 MB / 0.8146 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007751/0.7744, allocations: 421.1 kB / 0.815 GB, free: 33.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.7744, allocations: 305.1 kB / 0.8153 GB, free: 32.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004631/0.779, allocations: 1.929 MB / 0.8172 GB, free: 30.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004739/0.7838, allocations: 2.232 MB / 0.8194 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009041/0.7928, allocations: 4.161 MB / 0.8234 GB, free: 24.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.7928, allocations: 4 kB / 0.8234 GB, free: 24.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01622/0.809, allocations: 6.482 MB / 0.8298 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.8091, allocations: 148.5 kB / 0.8299 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.8091, allocations: 10.25 kB / 0.8299 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008824/0.8179, allocations: 2.914 MB / 0.8328 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.8205, allocations: 495.2 kB / 0.8332 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03564/0.8562, allocations: 18.85 MB / 0.8517 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.8604, allocations: 319.6 kB / 0.852 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/0.8609, allocations: 87.98 kB / 0.852 GB, free: 10.61 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001823/0.8627, allocations: 0.7115 MB / 0.8527 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009534/0.8637, allocations: 349.7 kB / 0.8531 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.8647, allocations: 384.1 kB / 0.8534 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.8647, allocations: 24 kB / 0.8535 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/0.8648, allocations: 12 kB / 0.8535 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.8648, allocations: 11.95 kB / 0.8535 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005598/0.8704, allocations: 3.641 MB / 0.857 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.8704, allocations: 0 / 0.857 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/0.873, allocations: 419.3 kB / 0.8574 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/0.883, allocations: 2.861 MB / 0.8602 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003034/0.8833, allocations: 51.97 kB / 0.8603 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04154/0.9249, allocations: 18.63 MB / 0.8785 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9249, allocations: 3.938 kB / 0.8785 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/0.9441, allocations: 6.12 MB / 0.8845 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/0.946, allocations: 0.7096 MB / 0.8851 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008157/0.9468, allocations: 55.92 kB / 0.8852 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003497/0.9503, allocations: 307.6 kB / 0.8855 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/0.9515, allocations: 358.7 kB / 0.8858 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/0.9517, allocations: 63.98 kB / 0.8859 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002676/0.9544, allocations: 1.54 MB / 0.8874 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.9544, allocations: 3.281 kB / 0.8874 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003002/0.9574, allocations: 1.043 MB / 0.8884 GB, free: 4.996 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/0.9578, allocations: 167 kB / 0.8886 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02358/0.9814, allocations: 6.326 MB / 0.8948 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.9814, allocations: 4 kB / 0.8948 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01748/0.9989, allocations: 3.917 MB / 0.8986 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/1.004, allocations: 1.14 MB / 0.8997 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.02, allocations: 6.982 MB / 0.9065 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/1.022, allocations: 2.227 MB / 0.9087 GB, free: 116 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.023, allocations: 207.4 kB / 0.9089 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/1.023, allocations: 3.938 kB / 0.9089 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.107/1.13, allocations: 80.36 MB / 0.9874 GB, free: 15.88 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)