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.001138/0.001138, allocations: 102.2 kB / 15.98 MB, free: 6.344 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.0011/0.0011, allocations: 195 kB / 16.91 MB, free: 6.188 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7677/0.7677, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.89 kB / 0.4906 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3793, allocations: 77.92 MB / 0.5667 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02482/0.4042, allocations: 22.41 MB / 0.5886 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.024/0.4282, allocations: 17.45 MB / 0.6057 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004394/0.4327, allocations: 106 kB / 0.6058 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.4434, allocations: 3.925 MB / 0.6096 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.4581, allocations: 3.204 MB / 0.6127 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.4623, allocations: 1.177 MB / 0.6139 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.4724, allocations: 5.807 MB / 0.6195 GB, free: 4.797 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007764/0.4802, allocations: 4.015 MB / 0.6235 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.4851, allocations: 2.46 MB / 0.6259 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.4899, allocations: 2.522 MB / 0.6283 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.4914, allocations: 372 kB / 0.6287 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.4945, allocations: 1.037 MB / 0.6297 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.4964, allocations: 1.192 MB / 0.6309 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004053/0.5005, allocations: 2.006 MB / 0.6328 GB, free: 7.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007938/0.5084, allocations: 5.179 MB / 0.6379 GB, free: 1.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.5085, allocations: 0 / 0.6379 GB, free: 1.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5085, allocations: 0 / 0.6379 GB, free: 1.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.5087, allocations: 0 / 0.6379 GB, free: 1.898 MB / 478.1 MB 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.01408/0.5228, allocations: 4.616 MB / 0.6424 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5229, allocations: 12.62 kB / 0.6424 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.5397, allocations: 3.257 MB / 0.6456 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/0.5447, allocations: 2.088 MB / 0.6476 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/0.5452, allocations: 470.3 kB / 0.6481 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.5463, allocations: 235.9 kB / 0.6483 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.56, allocations: 4.81 MB / 0.653 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.856e-05/0.5601, allocations: 0 / 0.653 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007925/0.5609, allocations: 112 kB / 0.6531 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/0.5611, allocations: 168.8 kB / 0.6533 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/0.5765, allocations: 5.198 MB / 0.6583 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02861/0.6052, allocations: 14.48 MB / 0.6725 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.6157, allocations: 3.401 MB / 0.6758 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/0.6195, allocations: 1.467 MB / 0.6772 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.6197, allocations: 33.22 kB / 0.6773 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004507/0.6242, allocations: 1.786 MB / 0.679 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 4.468e-06/0.6243, allocations: 0 / 0.679 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1258/0.7501, allocations: 28.22 MB / 0.7066 GB, free: 9.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002737/0.7504, allocations: 0.4928 MB / 0.707 GB, free: 9.078 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/0.7542, allocations: 2.3 MB / 0.7093 GB, free: 6.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004613/0.7547, allocations: 73.7 kB / 0.7094 GB, free: 6.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.7559, allocations: 1.434 MB / 0.7108 GB, free: 5.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/0.7569, allocations: 0.8162 MB / 0.7116 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.758, allocations: 416.4 kB / 0.7119 GB, free: 3.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.7581, allocations: 305.1 kB / 0.7122 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/0.7635, allocations: 1.933 MB / 0.7141 GB, free: 1.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/0.7694, allocations: 2.235 MB / 0.7163 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.7802, allocations: 4.165 MB / 0.7204 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.7803, allocations: 0 / 0.7204 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01955/0.7999, allocations: 6.535 MB / 0.7268 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8, allocations: 148.5 kB / 0.7269 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.8, allocations: 4 kB / 0.7269 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.8105, allocations: 2.957 MB / 0.7298 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.8135, allocations: 483.2 kB / 0.7303 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3738/1.187, allocations: 18.85 MB / 0.7487 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/1.192, allocations: 322.6 kB / 0.749 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/1.192, allocations: 89.97 kB / 0.7491 GB, free: 153 MB / 0.5762 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.001592/1.194, allocations: 0.7087 MB / 0.7497 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007005/1.194, allocations: 330.5 kB / 0.7501 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006803/1.195, allocations: 386.1 kB / 0.7504 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/1.195, allocations: 25.12 kB / 0.7505 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.251e-05/1.195, allocations: 9.469 kB / 0.7505 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.195, allocations: 13.48 kB / 0.7505 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005671/1.201, allocations: 3.62 MB / 0.754 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.201, allocations: 1.688 kB / 0.754 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/1.203, allocations: 419.4 kB / 0.7544 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/1.214, allocations: 2.895 MB / 0.7572 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004634/1.214, allocations: 47.66 kB / 0.7573 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03975/1.254, allocations: 18.62 MB / 0.7755 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.254, allocations: 9.969 kB / 0.7755 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.272, allocations: 6.173 MB / 0.7815 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/1.274, allocations: 0.7021 MB / 0.7822 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/1.275, allocations: 47.75 kB / 0.7822 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004107/1.279, allocations: 313.8 kB / 0.7825 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/1.281, allocations: 356.4 kB / 0.7829 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/1.281, allocations: 70.16 kB / 0.7829 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00347/1.285, allocations: 1.532 MB / 0.7844 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/1.285, allocations: 0 / 0.7844 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004512/1.289, allocations: 1.043 MB / 0.7855 GB, free: 139.3 MB / 0.5762 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.0005757/1.29, allocations: 169.8 kB / 0.7856 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02498/1.315, allocations: 7.302 MB / 0.7928 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.315, allocations: 4.062 kB / 0.7928 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01625/1.331, allocations: 4.07 MB / 0.7967 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005847/1.337, allocations: 1.141 MB / 0.7978 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/1.355, allocations: 8.039 MB / 0.8057 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/1.358, allocations: 2.234 MB / 0.8079 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003111/1.361, allocations: 0.5099 MB / 0.8084 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000936/1.362, allocations: 183.4 kB / 0.8086 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/1.362, allocations: 0 / 0.8086 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1033/1.465, allocations: 76.25 MB / 0.883 GB, free: 41.18 MB / 0.5762 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)