Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.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.00151/0.00151, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001695/0.001695, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.38 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2569, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02697/0.2839, allocations: 22.63 MB / 0.9724 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.311, allocations: 17.63 MB / 0.9896 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.3145, allocations: 115.4 kB / 0.9897 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.3257, allocations: 4.178 MB / 0.9938 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.3369, allocations: 3.499 MB / 0.9972 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.3409, allocations: 1.322 MB / 0.9985 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009549/0.3504, allocations: 5.77 MB / 1.004 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006353/0.3568, allocations: 3.6 MB / 1.008 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004528/0.3614, allocations: 2.398 MB / 1.01 GB, free: 11.47 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00505/0.3665, allocations: 2.459 MB / 1.012 GB, free: 9 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.3682, allocations: 368 kB / 1.013 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.3715, allocations: 1.034 MB / 1.014 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.3737, allocations: 1.199 MB / 1.015 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/0.378, allocations: 1.99 MB / 1.017 GB, free: 4.402 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008425/0.3865, allocations: 5.12 MB / 1.022 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3865, allocations: 0 / 1.022 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.826e-06/0.3865, allocations: 3.938 kB / 1.022 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002379/0.3868, allocations: 0 / 1.022 GB, free: 15.26 MB / 0.8106 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.01281/0.3996, allocations: 4.608 MB / 1.026 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3996, allocations: 12.03 kB / 1.026 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.4165, allocations: 3.257 MB / 1.03 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.4211, allocations: 2.099 MB / 1.032 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005131/0.4217, allocations: 466.3 kB / 1.032 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.4228, allocations: 235.9 kB / 1.032 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.4359, allocations: 4.814 MB / 1.037 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.421e-05/0.436, allocations: 0 / 1.037 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007903/0.4369, allocations: 108 kB / 1.037 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.4371, allocations: 176.8 kB / 1.037 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4522, allocations: 5.194 MB / 1.042 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.4773, allocations: 14.48 MB / 1.056 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.4877, allocations: 3.389 MB / 1.06 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004024/0.4918, allocations: 1.471 MB / 1.061 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.492, allocations: 29.22 kB / 1.061 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004548/0.4966, allocations: 1.785 MB / 1.063 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=163): time 4.809e-06/0.4966, allocations: 0 / 1.063 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=250): time 0.5445/1.041, allocations: 28.21 MB / 1.091 GB, free: 124 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.041, allocations: 0.4896 MB / 1.091 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/1.045, allocations: 2.304 MB / 1.093 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004856/1.046, allocations: 78.2 kB / 1.093 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.047, allocations: 1.432 MB / 1.095 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008631/1.048, allocations: 0.8194 MB / 1.096 GB, free: 120.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000959/1.049, allocations: 416.4 kB / 1.096 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.239e-05/1.049, allocations: 306.2 kB / 1.096 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005505/1.054, allocations: 1.928 MB / 1.098 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/1.06, allocations: 2.232 MB / 1.1 GB, free: 118.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.071, allocations: 4.161 MB / 1.104 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/1.072, allocations: 1.219 kB / 1.104 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01993/1.091, allocations: 6.537 MB / 1.111 GB, free: 114.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.092, allocations: 149 kB / 1.111 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.092, allocations: 9.375 kB / 1.111 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/1.102, allocations: 2.951 MB / 1.114 GB, free: 114.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/1.105, allocations: 483.8 kB / 1.114 GB, free: 114.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0368/1.142, allocations: 18.85 MB / 1.133 GB, free: 103.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/1.146, allocations: 319.9 kB / 1.133 GB, free: 103.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005139/1.147, allocations: 95.19 kB / 1.133 GB, free: 103.4 MB / 0.8575 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.001947/1.149, allocations: 0.7043 MB / 1.134 GB, free: 102.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009791/1.15, allocations: 333.5 kB / 1.134 GB, free: 102.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008792/1.151, allocations: 379.8 kB / 1.134 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.151, allocations: 27.7 kB / 1.134 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/1.151, allocations: 11.78 kB / 1.134 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/1.151, allocations: 11.95 kB / 1.134 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/1.156, allocations: 3.627 MB / 1.138 GB, free: 100 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.156, allocations: 0.9375 kB / 1.138 GB, free: 100 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.158, allocations: 423.1 kB / 1.138 GB, free: 99.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008976/1.167, allocations: 2.887 MB / 1.141 GB, free: 98.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000391/1.167, allocations: 49.59 kB / 1.141 GB, free: 98.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03343/1.201, allocations: 18.63 MB / 1.159 GB, free: 81.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.201, allocations: 0 / 1.159 GB, free: 81.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.217, allocations: 6.172 MB / 1.165 GB, free: 75.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.219, allocations: 0.7077 MB / 1.166 GB, free: 75.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006722/1.22, allocations: 44 kB / 1.166 GB, free: 75.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/1.223, allocations: 311.6 kB / 1.167 GB, free: 74.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.224, allocations: 358.7 kB / 1.167 GB, free: 74.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/1.224, allocations: 71.97 kB / 1.167 GB, free: 74.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001735/1.226, allocations: 1.532 MB / 1.168 GB, free: 72.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/1.226, allocations: 0 / 1.168 GB, free: 72.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002892/1.229, allocations: 1.043 MB / 1.169 GB, free: 71.71 MB / 0.8575 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.0003628/1.229, allocations: 175.2 kB / 1.17 GB, free: 71.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02348/1.253, allocations: 7.306 MB / 1.177 GB, free: 64.15 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.253, allocations: 7.938 kB / 1.177 GB, free: 64.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01607/1.269, allocations: 4.038 MB / 1.181 GB, free: 60.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/1.273, allocations: 1.141 MB / 1.182 GB, free: 59.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.286, allocations: 6.962 MB / 1.189 GB, free: 52.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.288, allocations: 2.231 MB / 1.191 GB, free: 49.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.289, allocations: 207.4 kB / 1.191 GB, free: 49.56 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/1.289, allocations: 0 / 1.191 GB, free: 49.56 MB / 0.8575 GB Notification: Performance of Templates: time 0.0821/1.371, allocations: 79.96 MB / 1.269 GB, free: 1.949 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)