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.00154/0.00154, allocations: 118.3 kB / 17.08 MB, free: 5.969 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.001655/0.001655, allocations: 192.2 kB / 18.02 MB, free: 5.047 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.464/1.464, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8669/0.8669, allocations: 126.4 MB / 418.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.69 kB / 0.5742 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 78.77 MB / 0.6512 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02805/0.1583, allocations: 22.64 MB / 0.6733 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02956/0.1879, allocations: 17.63 MB / 0.6905 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.1911, allocations: 115.4 kB / 0.6906 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.2024, allocations: 4.185 MB / 0.6947 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.2126, allocations: 3.581 MB / 0.6982 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.2161, allocations: 1.312 MB / 0.6995 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008596/0.2247, allocations: 5.8 MB / 0.7051 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00587/0.2306, allocations: 3.588 MB / 0.7086 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.2351, allocations: 2.484 MB / 0.7111 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005223/0.2403, allocations: 2.452 MB / 0.7135 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.2421, allocations: 372 kB / 0.7138 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.2457, allocations: 1.034 MB / 0.7148 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002564/0.2483, allocations: 1.196 MB / 0.716 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005379/0.2537, allocations: 1.994 MB / 0.7179 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009842/0.2636, allocations: 5.195 MB / 0.723 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.2636, allocations: 4 kB / 0.723 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2636, allocations: 0 / 0.723 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002579/0.2639, allocations: 3.938 kB / 0.723 GB, free: 9.684 MB / 0.5606 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.01277/0.2767, allocations: 4.722 MB / 0.7276 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2768, allocations: 15.97 kB / 0.7276 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.2934, allocations: 3.283 MB / 0.7309 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.2984, allocations: 2.254 MB / 0.7331 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005022/0.299, allocations: 470.3 kB / 0.7335 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008812/0.2999, allocations: 235.9 kB / 0.7337 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.3133, allocations: 4.818 MB / 0.7384 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.683e-05/0.3135, allocations: 3.938 kB / 0.7384 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007332/0.3142, allocations: 99.98 kB / 0.7385 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/0.3145, allocations: 172.8 kB / 0.7387 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.3299, allocations: 5.191 MB / 0.7438 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.334/0.664, allocations: 14.42 MB / 0.7578 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.6751, allocations: 3.385 MB / 0.7611 GB, free: 76.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004031/0.6792, allocations: 1.469 MB / 0.7626 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.6794, allocations: 26.8 kB / 0.7626 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004482/0.6839, allocations: 1.783 MB / 0.7643 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 3.777e-06/0.6839, allocations: 3.375 kB / 0.7644 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1183/0.8022, allocations: 28.3 MB / 0.792 GB, free: 62.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.8024, allocations: 0.4928 MB / 0.7925 GB, free: 61.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.8047, allocations: 2.299 MB / 0.7947 GB, free: 59.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.8051, allocations: 81.7 kB / 0.7948 GB, free: 59.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007825/0.8059, allocations: 1.455 MB / 0.7962 GB, free: 57.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/0.8065, allocations: 0.8601 MB / 0.7971 GB, free: 57.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007331/0.8073, allocations: 412.5 kB / 0.7974 GB, free: 56.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.8073, allocations: 301.1 kB / 0.7977 GB, free: 56.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004496/0.8118, allocations: 1.935 MB / 0.7996 GB, free: 54.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/0.8165, allocations: 2.223 MB / 0.8018 GB, free: 52.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009191/0.8257, allocations: 4.169 MB / 0.8059 GB, free: 47.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.8258, allocations: 4 kB / 0.8059 GB, free: 47.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01652/0.8423, allocations: 6.548 MB / 0.8123 GB, free: 41.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.8424, allocations: 152.6 kB / 0.8124 GB, free: 40.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.8424, allocations: 5.875 kB / 0.8124 GB, free: 40.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009057/0.8515, allocations: 2.928 MB / 0.8153 GB, free: 38.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.8542, allocations: 491.2 kB / 0.8157 GB, free: 37.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03367/0.8879, allocations: 18.85 MB / 0.8342 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/0.8917, allocations: 319.6 kB / 0.8345 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/0.8921, allocations: 95.91 kB / 0.8345 GB, free: 18.1 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.00123/0.8933, allocations: 0.7119 MB / 0.8352 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005104/0.8938, allocations: 345.8 kB / 0.8356 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007882/0.8946, allocations: 388.1 kB / 0.8359 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8946, allocations: 24 kB / 0.836 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/0.8947, allocations: 8 kB / 0.836 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.8947, allocations: 15.7 kB / 0.836 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.8982, allocations: 3.636 MB / 0.8395 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.8982, allocations: 0 / 0.8395 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.9005, allocations: 419.3 kB / 0.8399 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008496/0.909, allocations: 2.881 MB / 0.8428 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/0.9094, allocations: 47.92 kB / 0.8428 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03816/0.9475, allocations: 18.63 MB / 0.861 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9476, allocations: 0 / 0.861 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/0.9723, allocations: 6.186 MB / 0.867 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/0.9751, allocations: 0.7206 MB / 0.8677 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008702/0.976, allocations: 47.98 kB / 0.8678 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005054/0.981, allocations: 311.6 kB / 0.8681 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001958/0.983, allocations: 354.7 kB / 0.8684 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003844/0.9834, allocations: 68.84 kB / 0.8685 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003943/0.9874, allocations: 1.544 MB / 0.87 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9874, allocations: 0 / 0.87 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004278/0.9917, allocations: 1.043 MB / 0.871 GB, free: 12.42 MB / 0.6075 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.0005572/0.9923, allocations: 163.1 kB / 0.8712 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.04352/1.036, allocations: 6.483 MB / 0.8775 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.036, allocations: 4.188 kB / 0.8775 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0248/1.061, allocations: 4.073 MB / 0.8815 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004758/1.065, allocations: 1.136 MB / 0.8826 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.08, allocations: 6.803 MB / 0.8892 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.082, allocations: 2.223 MB / 0.8914 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002145/1.084, allocations: 0.506 MB / 0.8919 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/1.085, allocations: 187.4 kB / 0.8921 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/1.085, allocations: 0 / 0.8921 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.1257/1.211, allocations: 75.79 MB / 0.9661 GB, free: 11.83 MB / 0.7012 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)