Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.692/2.692, allocations: 287.9 MB / 302.9 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 175.2 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 90.55 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 10.72 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1865, allocations: 115.3 MB / 0.9788 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03843/0.225, allocations: 19.17 MB / 0.9975 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02888/0.254, allocations: 16.05 MB / 1.013 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.2573, allocations: 95.44 kB / 1.013 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.2598, allocations: 0.5509 MB / 1.014 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.271, allocations: 2.821 MB / 1.017 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.275, allocations: 0.9427 MB / 1.017 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00786/0.2829, allocations: 3.412 MB / 1.021 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/0.2874, allocations: 2.075 MB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.2919, allocations: 1.81 MB / 1.025 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.2963, allocations: 1.794 MB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.2973, allocations: 176 kB / 1.027 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.2998, allocations: 499.4 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.3015, allocations: 0.8722 MB / 1.028 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.303, allocations: 0.699 MB / 1.029 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006838/0.3099, allocations: 3.904 MB / 1.032 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.986e-06/0.3099, allocations: 0 / 1.032 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.073e-06/0.31, allocations: 4 kB / 1.032 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001089/0.3101, allocations: 0 / 1.032 GB, free: 5.156 MB / 0.6511 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.01148/0.3216, allocations: 4.088 MB / 1.036 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3216, allocations: 12.03 kB / 1.036 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02054/0.3422, allocations: 3.409 MB / 1.04 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005622/0.3479, allocations: 1.987 MB / 1.042 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/0.3485, allocations: 469.7 kB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008728/0.3493, allocations: 235.9 kB / 1.042 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.3647, allocations: 4.83 MB / 1.047 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/0.3648, allocations: 3.938 kB / 1.047 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005997/0.3655, allocations: 111.9 kB / 1.047 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/0.3658, allocations: 168.8 kB / 1.047 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.3859, allocations: 5.296 MB / 1.052 GB, free: 156 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/0.4165, allocations: 14.58 MB / 1.067 GB, free: 412 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5657/0.9823, allocations: 3.669 MB / 1.07 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.9826, allocations: 24.69 kB / 1.07 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006371/0.989, allocations: 1.911 MB / 1.072 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.598e-06/0.989, allocations: 1.031 kB / 1.072 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1581/1.147, allocations: 34.08 MB / 1.105 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.147, allocations: 0.4932 MB / 1.106 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/1.151, allocations: 2.278 MB / 1.108 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004749/1.152, allocations: 84.52 kB / 1.108 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.153, allocations: 1.431 MB / 1.11 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.154, allocations: 0.8222 MB / 1.11 GB, free: 69.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.154, allocations: 45.31 kB / 1.11 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.154, allocations: 397.9 kB / 1.111 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006697/1.161, allocations: 2.102 MB / 1.113 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007113/1.168, allocations: 2.408 MB / 1.115 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006729/1.175, allocations: 2.288 MB / 1.117 GB, free: 64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.175, allocations: 0 / 1.117 GB, free: 64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02274/1.198, allocations: 6.886 MB / 1.124 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/1.198, allocations: 148.5 kB / 1.124 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.198, allocations: 4 kB / 1.124 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/1.21, allocations: 2.944 MB / 1.127 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/1.214, allocations: 0.5734 MB / 1.128 GB, free: 53.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04608/1.26, allocations: 18.15 MB / 1.146 GB, free: 34.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/1.264, allocations: 423.6 kB / 1.146 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005013/1.265, allocations: 86.39 kB / 1.146 GB, free: 34.5 MB / 0.6823 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001873/1.267, allocations: 0.7105 MB / 1.147 GB, free: 33.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/1.268, allocations: 328.1 kB / 1.147 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/1.268, allocations: 388.1 kB / 1.147 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/1.268, allocations: 28 kB / 1.147 GB, free: 33.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.692e-05/1.268, allocations: 8 kB / 1.147 GB, free: 33.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/1.268, allocations: 15.91 kB / 1.147 GB, free: 33.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/1.274, allocations: 3.63 MB / 1.151 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/1.274, allocations: 0 / 1.151 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/1.277, allocations: 0.5032 MB / 1.151 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/1.289, allocations: 2.866 MB / 1.154 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004844/1.29, allocations: 51.97 kB / 1.154 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04547/1.335, allocations: 17.93 MB / 1.172 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-06/1.335, allocations: 7.281 kB / 1.172 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02138/1.357, allocations: 6.522 MB / 1.178 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.359, allocations: 0.7038 MB / 1.179 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009101/1.36, allocations: 47.98 kB / 1.179 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004204/1.364, allocations: 411.6 kB / 1.179 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001634/1.366, allocations: 362.6 kB / 1.18 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003536/1.366, allocations: 67.98 kB / 1.18 GB, free: 15.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003359/1.369, allocations: 1.509 MB / 1.181 GB, free: 14.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.59e-07/1.37, allocations: 0 / 1.181 GB, free: 14.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004166/1.374, allocations: 1.047 MB / 1.182 GB, free: 13.07 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005882/1.374, allocations: 164.6 kB / 1.182 GB, free: 12.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02965/1.404, allocations: 6.821 MB / 1.189 GB, free: 5.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.404, allocations: 4 kB / 1.189 GB, free: 5.977 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.02145/1.425, allocations: 4.236 MB / 1.193 GB, free: 1.715 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005602/1.431, allocations: 0.9945 MB / 1.194 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.452, allocations: 7.762 MB / 1.202 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/1.455, allocations: 2.293 MB / 1.204 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005956/1.461, allocations: 0.5099 MB / 1.204 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.463, allocations: 171.4 kB / 1.205 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of SimCode: time 2.914e-06/1.463, allocations: 0 / 1.205 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of Templates: time 0.2024/1.666, allocations: 70.09 MB / 1.273 GB, free: 0.5547 MB / 0.7761 GB