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_N.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.159/2.159, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001357/0.001357, allocations: 178.7 kB / 325.8 MB, free: 2.785 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.536/2.536, allocations: 205.4 MB / 0.5767 GB, free: 20.74 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.001003/0.001002, allocations: 91.91 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007403/0.0007407, allocations: 15.78 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2282, allocations: 106.3 MB / 0.8991 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01573/0.2439, allocations: 10.78 MB / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2545, allocations: 5.216 MB / 0.9147 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.2558, allocations: 31.88 kB / 0.9147 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.257, allocations: 298 kB / 0.915 GB, free: 49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.2588, allocations: 0.5247 MB / 0.9155 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.2608, allocations: 0.4928 MB / 0.916 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003676/0.2645, allocations: 2.938 MB / 0.9189 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00749/0.272, allocations: 4.045 MB / 0.9228 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.2738, allocations: 0.7785 MB / 0.9236 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.276, allocations: 1.083 MB / 0.9246 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003669/0.2764, allocations: 107.9 kB / 0.9247 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.2777, allocations: 315.7 kB / 0.925 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008844/0.2786, allocations: 0.7404 MB / 0.9257 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.2791, allocations: 364.9 kB / 0.9261 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.2831, allocations: 3.261 MB / 0.9293 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2831, allocations: 4 kB / 0.9293 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2832, allocations: 0 / 0.9293 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.087e-05/0.2832, allocations: 4 kB / 0.9293 GB, free: 34.26 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005498/0.2888, allocations: 1.769 MB / 0.931 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2888, allocations: 8.031 kB / 0.931 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.294, allocations: 0.7441 MB / 0.9317 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.2975, allocations: 1.22 MB / 0.9329 GB, free: 30.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.2977, allocations: 123.6 kB / 0.9331 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.2981, allocations: 164.1 kB / 0.9332 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007285/0.3054, allocations: 2.952 MB / 0.9361 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.235e-05/0.3056, allocations: 3.906 kB / 0.9361 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.3059, allocations: 67.98 kB / 0.9362 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006804/0.3066, allocations: 203 kB / 0.9364 GB, free: 26.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/0.3135, allocations: 2.507 MB / 0.9388 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02535/0.3389, allocations: 10.9 MB / 0.9495 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.3421, allocations: 0.9249 MB / 0.9504 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.344, allocations: 0.509 MB / 0.9509 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3443, allocations: 89.47 kB / 0.9509 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.3443, allocations: 38.94 kB / 0.951 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 4.859e-06/0.3444, allocations: 3.938 kB / 0.951 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.07754/0.4219, allocations: 8.965 MB / 0.9597 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.422, allocations: 93.61 kB / 0.9598 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.4246, allocations: 0.9415 MB / 0.9607 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.4249, allocations: 37.7 kB / 0.9608 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.4254, allocations: 0.7738 MB / 0.9615 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.4258, allocations: 240.5 kB / 0.9618 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.426, allocations: 20 kB / 0.9618 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000294/0.4263, allocations: 402.7 kB / 0.9622 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/0.4294, allocations: 0.795 MB / 0.9629 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/0.434, allocations: 1.16 MB / 0.9641 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/0.4387, allocations: 0.9946 MB / 0.965 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-05/0.4388, allocations: 4 kB / 0.9651 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01993/0.4587, allocations: 3.779 MB / 0.9687 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.4592, allocations: 413.1 kB / 0.9691 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.4593, allocations: 16 kB / 0.9692 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01639/0.4757, allocations: 2.158 MB / 0.9713 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.4775, allocations: 227.6 kB / 0.9715 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02866/0.5062, allocations: 10.24 MB / 0.9815 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.5086, allocations: 199.7 kB / 0.9817 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.5088, allocations: 51.92 kB / 0.9817 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5088, allocations: 7.938 kB / 0.9817 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01492/0.5238, allocations: 3.076 MB / 0.9847 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/0.5239, allocations: 15.94 kB / 0.9847 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.5345, allocations: 1.356 MB / 0.9861 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.5369, allocations: 295.5 kB / 0.9864 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/0.5565, allocations: 6.155 MB / 0.9924 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.5587, allocations: 171.6 kB / 0.9925 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.5589, allocations: 47.98 kB / 0.9926 GB, free: 15.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001966/0.5608, allocations: 0.9013 MB / 0.9935 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.5611, allocations: 82.97 kB / 0.9935 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/0.5778, allocations: 3.327 MB / 0.9968 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.5779, allocations: 8 kB / 0.9968 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5779, allocations: 8 kB / 0.9968 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.5779, allocations: 3.984 kB / 0.9968 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/0.5997, allocations: 5.489 MB / 1.002 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/0.5997, allocations: 11.92 kB / 1.002 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/0.6006, allocations: 103.9 kB / 1.002 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01472/0.6154, allocations: 1.977 MB / 1.004 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.6156, allocations: 16 kB / 1.004 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02567/0.6413, allocations: 9.641 MB / 1.014 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6413, allocations: 4 kB / 1.014 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/0.6616, allocations: 3.206 MB / 1.017 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/0.6632, allocations: 331.9 kB / 1.017 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005071/0.6638, allocations: 12 kB / 1.017 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/0.6667, allocations: 151.8 kB / 1.017 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/0.6673, allocations: 64.41 kB / 1.017 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.6675, allocations: 24 kB / 1.017 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002423/0.6699, allocations: 0.6707 MB / 1.018 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.393e-06/0.67, allocations: 0 / 1.018 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005473/0.6755, allocations: 0.6836 MB / 1.019 GB, free: 4.242 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005562/0.6761, allocations: 140.4 kB / 1.019 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02189/0.698, allocations: 3.9 MB / 1.023 GB, free: 168 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.6981, allocations: 4 kB / 1.023 GB, free: 164 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.7022, allocations: 1.31 MB / 1.024 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.7044, allocations: 256.5 kB / 1.024 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.7147, allocations: 4.078 MB / 1.028 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/0.7175, allocations: 1.719 MB / 1.03 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002521/0.72, allocations: 0.5109 MB / 1.03 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.7204, allocations: 63.44 kB / 1.03 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/0.7204, allocations: 0 / 1.03 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of Templates: time 0.8234/1.544, allocations: 29.41 MB / 1.059 GB, free: 140.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)