Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001605/0.001605, allocations: 176 kB / 325.6 MB, free: 2.797 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.618/2.618, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001666/0.001666, allocations: 95.06 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 11.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2433, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01523/0.2586, allocations: 10.37 MB / 0.909 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009862/0.2685, allocations: 4.948 MB / 0.9139 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.2697, allocations: 31.88 kB / 0.9139 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.2711, allocations: 322.2 kB / 0.9142 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.2734, allocations: 0.5218 MB / 0.9147 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.2758, allocations: 0.5745 MB / 0.9153 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.2781, allocations: 1.142 MB / 0.9164 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006538/0.2846, allocations: 3.621 MB / 0.9199 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.2859, allocations: 0.5958 MB / 0.9205 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2871, allocations: 0.6618 MB / 0.9211 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.2874, allocations: 92 kB / 0.9212 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2885, allocations: 311.6 kB / 0.9215 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.2892, allocations: 0.6744 MB / 0.9222 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.2897, allocations: 340.9 kB / 0.9225 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003529/0.2932, allocations: 2.996 MB / 0.9254 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2933, allocations: 0 / 0.9254 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2933, allocations: 0 / 0.9254 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.12e-05/0.2934, allocations: 0 / 0.9254 GB, free: 38.59 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004682/0.2981, allocations: 1.636 MB / 0.927 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2981, allocations: 12.03 kB / 0.927 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/0.3021, allocations: 0.4937 MB / 0.9275 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.3053, allocations: 1.127 MB / 0.9286 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.688e-05/0.3054, allocations: 123 kB / 0.9287 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004531/0.3059, allocations: 152 kB / 0.9289 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/0.3132, allocations: 2.727 MB / 0.9315 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.461e-05/0.3133, allocations: 7.984 kB / 0.9316 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/0.3136, allocations: 63.98 kB / 0.9316 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000546/0.3142, allocations: 174.9 kB / 0.9318 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005943/0.3201, allocations: 2.284 MB / 0.934 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.3358, allocations: 10.53 MB / 0.9443 GB, free: 18.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.3373, allocations: 0.5811 MB / 0.9449 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.3375, allocations: 89.09 kB / 0.9449 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3375, allocations: 34.56 kB / 0.945 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.915e-06/0.3375, allocations: 4 kB / 0.945 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.03515/0.3727, allocations: 6.294 MB / 0.9511 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3728, allocations: 89.48 kB / 0.9512 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.3744, allocations: 0.8945 MB / 0.9521 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3746, allocations: 33.7 kB / 0.9521 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.375, allocations: 0.7499 MB / 0.9529 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3753, allocations: 185.4 kB / 0.953 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3754, allocations: 16 kB / 0.953 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3755, allocations: 390.8 kB / 0.9534 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.3771, allocations: 0.646 MB / 0.954 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.3788, allocations: 1.007 MB / 0.955 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.3807, allocations: 0.8141 MB / 0.9558 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3807, allocations: 4 kB / 0.9558 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01531/0.396, allocations: 3.221 MB / 0.959 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.3975, allocations: 4.533 MB / 0.9634 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.3975, allocations: 16.05 kB / 0.9634 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/0.4138, allocations: 1.864 MB / 0.9652 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.4161, allocations: 219.7 kB / 0.9654 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03536/0.4515, allocations: 10.49 MB / 0.9757 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/0.4547, allocations: 183.6 kB / 0.9759 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/0.4551, allocations: 43.98 kB / 0.9759 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4551, allocations: 4 kB / 0.9759 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01872/0.4738, allocations: 2.633 MB / 0.9785 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.372e-05/0.474, allocations: 12 kB / 0.9785 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/0.4871, allocations: 1.196 MB / 0.9797 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.4895, allocations: 267.5 kB / 0.9799 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.5082, allocations: 5.692 MB / 0.9855 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.511, allocations: 151.8 kB / 0.9856 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.5112, allocations: 44 kB / 0.9857 GB, free: 6.312 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002816/0.514, allocations: 0.84 MB / 0.9865 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/0.5145, allocations: 71.16 kB / 0.9866 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/0.534, allocations: 2.699 MB / 0.9892 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.5341, allocations: 4 kB / 0.9892 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.5341, allocations: 4 kB / 0.9892 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.5342, allocations: 7.984 kB / 0.9892 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/0.5607, allocations: 4.539 MB / 0.9936 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.5608, allocations: 8 kB / 0.9936 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.562, allocations: 95.86 kB / 0.9937 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01923/0.5813, allocations: 1.712 MB / 0.9954 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.5816, allocations: 16 kB / 0.9954 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03232/0.6139, allocations: 10.05 MB / 1.005 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.614, allocations: 8.062 kB / 1.005 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/0.6335, allocations: 2.751 MB / 1.008 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.6349, allocations: 284 kB / 1.008 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/0.6353, allocations: 19.94 kB / 1.008 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/0.6377, allocations: 131.8 kB / 1.008 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/0.6383, allocations: 51.86 kB / 1.008 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.6385, allocations: 16 kB / 1.008 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002136/0.6406, allocations: 0.6356 MB / 1.009 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.463e-06/0.6407, allocations: 0 / 1.009 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005157/0.6459, allocations: 0.5859 MB / 1.01 GB, free: 12.98 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005095/0.6464, allocations: 123.2 kB / 1.01 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01354/0.66, allocations: 3.253 MB / 1.013 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.6601, allocations: 1.938 kB / 1.013 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005226/0.6653, allocations: 1.28 MB / 1.014 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.6681, allocations: 221.3 kB / 1.014 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.6811, allocations: 3.542 MB / 1.018 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003508/0.6847, allocations: 1.645 MB / 1.019 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003292/0.688, allocations: 490.3 kB / 1.02 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.6885, allocations: 63.42 kB / 1.02 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of SimCode: time 7.504e-06/0.6885, allocations: 0 / 1.02 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of Templates: time 0.07802/0.7665, allocations: 23.34 MB / 1.043 GB, free: 10.93 MB / 0.698 GB