Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.401/2.401, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 183.5 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.572/2.572, allocations: 205.4 MB / 0.5766 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 91.97 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.000469, allocations: 13.72 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01844/0.2391, allocations: 12.49 MB / 0.9111 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.2572, allocations: 9.446 MB / 0.9203 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.2589, allocations: 51.62 kB / 0.9204 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.2603, allocations: 262.3 kB / 0.9206 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006171/0.2665, allocations: 1.468 MB / 0.922 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.2689, allocations: 0.5283 MB / 0.9226 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004231/0.2732, allocations: 1.747 MB / 0.9243 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/0.2776, allocations: 1.811 MB / 0.926 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.2802, allocations: 1.192 MB / 0.9272 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.2824, allocations: 0.8483 MB / 0.928 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.2829, allocations: 68 kB / 0.9281 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.2845, allocations: 387.5 kB / 0.9285 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.2851, allocations: 466.6 kB / 0.9289 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005764/0.2857, allocations: 352.8 kB / 0.9292 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.2889, allocations: 2.077 MB / 0.9313 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2889, allocations: 0 / 0.9313 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.506e-06/0.2889, allocations: 0 / 0.9313 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.612e-05/0.289, allocations: 7.938 kB / 0.9313 GB, free: 32.17 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005106/0.2941, allocations: 1.843 MB / 0.9331 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2942, allocations: 8.031 kB / 0.9331 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02043/0.3146, allocations: 2.197 MB / 0.9352 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/0.3184, allocations: 1.166 MB / 0.9364 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.3186, allocations: 82.31 kB / 0.9364 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.319, allocations: 115.9 kB / 0.9366 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009674/0.3287, allocations: 2.674 MB / 0.9392 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/0.3288, allocations: 15.84 kB / 0.9392 GB, free: 23.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3291, allocations: 51.98 kB / 0.9392 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/0.3302, allocations: 198.1 kB / 0.9394 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.3439, allocations: 2.83 MB / 0.9422 GB, free: 20.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.367, allocations: 10.55 MB / 0.9525 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.3789, allocations: 2.391 MB / 0.9548 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.3791, allocations: 12.98 kB / 0.9548 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3791, allocations: 43.56 kB / 0.9549 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 4.137e-06/0.3791, allocations: 0 / 0.9549 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.1515/0.5306, allocations: 16.49 MB / 0.971 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.5309, allocations: 68.72 kB / 0.971 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004092/0.535, allocations: 1.164 MB / 0.9722 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004684/0.5355, allocations: 53.7 kB / 0.9722 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008651/0.5364, allocations: 0.7475 MB / 0.973 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.5374, allocations: 0.5198 MB / 0.9735 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5377, allocations: 28 kB / 0.9735 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.5379, allocations: 361.9 kB / 0.9738 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006902/0.5448, allocations: 1.522 MB / 0.9753 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007413/0.5523, allocations: 1.792 MB / 0.9771 GB, free: 48 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/0.5597, allocations: 1.646 MB / 0.9787 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.5598, allocations: 8 kB / 0.9787 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02547/0.5853, allocations: 5.292 MB / 0.9839 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.5854, allocations: 8.875 kB / 0.9839 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.5854, allocations: 8 kB / 0.9839 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/0.5982, allocations: 1.89 MB / 0.9857 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/0.6021, allocations: 431.3 kB / 0.9861 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04899/0.6511, allocations: 22.84 MB / 1.008 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.6559, allocations: 315.6 kB / 1.009 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/0.6563, allocations: 63.97 kB / 1.009 GB, free: 14.45 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.6577, allocations: 473.4 kB / 1.009 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/0.6583, allocations: 173.9 kB / 1.009 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/0.6839, allocations: 5.347 MB / 1.015 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.684, allocations: 16 kB / 1.015 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-05/0.6841, allocations: 16 kB / 1.015 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/0.6842, allocations: 15.97 kB / 1.015 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/0.7154, allocations: 7.45 MB / 1.022 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.7155, allocations: 4 kB / 1.022 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/0.7189, allocations: 363.7 kB / 1.022 GB, free: 432 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01144/0.7303, allocations: 1.701 MB / 1.024 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003727/0.7308, allocations: 40.34 kB / 1.024 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04728/0.7781, allocations: 22.05 MB / 1.046 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.7781, allocations: 12.19 kB / 1.046 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02338/0.8015, allocations: 5.066 MB / 1.051 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/0.8034, allocations: 0.4909 MB / 1.051 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006326/0.8041, allocations: 32.97 kB / 1.051 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004451/0.8085, allocations: 327.5 kB / 1.051 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009043/0.8095, allocations: 149 kB / 1.051 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/0.8098, allocations: 59.97 kB / 1.052 GB, free: 1.246 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001815/0.8116, allocations: 0.7782 MB / 1.052 GB, free: 480 kB / 0.698 GB Notification: Performance of sort global known variables: time 8.42e-07/0.8116, allocations: 0 / 1.052 GB, free: 480 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.6375/1.449, allocations: 0.6514 MB / 1.053 GB, free: 139.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006911/1.45, allocations: 137.5 kB / 1.053 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01983/1.47, allocations: 5.174 MB / 1.058 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.47, allocations: 0 / 1.058 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01273/1.483, allocations: 3.369 MB / 1.061 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006628/1.489, allocations: 495.7 kB / 1.062 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.515, allocations: 4.856 MB / 1.067 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003651/1.519, allocations: 1.606 MB / 1.068 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004429/1.523, allocations: 393.3 kB / 1.069 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.525, allocations: 109.7 kB / 1.069 GB, free: 135.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.525, allocations: 0 / 1.069 GB, free: 135.1 MB / 0.698 GB Notification: Performance of Templates: time 0.1288/1.654, allocations: 41.43 MB / 1.109 GB, free: 109.8 MB / 0.698 GB