Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 178.1 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00076/0.0007601, allocations: 82.38 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 8.938 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02497/0.1988, allocations: 31.88 MB / 0.9279 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.212, allocations: 10.38 MB / 0.938 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.2151, allocations: 135.2 kB / 0.9382 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007335/0.2224, allocations: 3.447 MB / 0.9415 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.2271, allocations: 1.751 MB / 0.9432 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.2316, allocations: 1.925 MB / 0.9451 GB, free: 18.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007601/0.2392, allocations: 10.58 MB / 0.9554 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.252, allocations: 10.57 MB / 0.9658 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.2561, allocations: 2.295 MB / 0.968 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.2601, allocations: 2.97 MB / 0.9709 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000936/0.2611, allocations: 268 kB / 0.9712 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.2646, allocations: 1.696 MB / 0.9728 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.2668, allocations: 2.05 MB / 0.9748 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.2698, allocations: 2.316 MB / 0.9771 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.008146/0.278, allocations: 8.396 MB / 0.9853 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.278, allocations: 0 / 0.9853 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.835e-06/0.278, allocations: 3.938 kB / 0.9853 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000269/0.2783, allocations: 0 / 0.9853 GB, free: 9.168 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008167/0.2865, allocations: 4.015 MB / 0.9892 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2865, allocations: 8.031 kB / 0.9892 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.2919, allocations: 0.959 MB / 0.9901 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.2972, allocations: 2.859 MB / 0.9929 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.2975, allocations: 353.6 kB / 0.9933 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008834/0.2984, allocations: 468.1 kB / 0.9937 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.3117, allocations: 7.663 MB / 1.001 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.3118, allocations: 31.77 kB / 1.001 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004783/0.3123, allocations: 196 kB / 1.001 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003106/0.3126, allocations: 313 kB / 1.002 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009715/0.3224, allocations: 5.71 MB / 1.007 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.355, allocations: 35.14 MB / 1.042 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.358, allocations: 2.151 MB / 1.044 GB, free: 9.496 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.3596, allocations: 1.268 MB / 1.045 GB, free: 8.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.3597, allocations: 17.31 kB / 1.045 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3597, allocations: 43.88 kB / 1.045 GB, free: 8.164 MB / 0.698 GB Notification: Performance of pre-optimization done (n=133): time 3.817e-06/0.3597, allocations: 3.938 kB / 1.045 GB, free: 8.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.01294/0.3727, allocations: 7.124 MB / 1.052 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3728, allocations: 68.72 kB / 1.052 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3688/0.7416, allocations: 1.483 MB / 1.053 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.7419, allocations: 45.64 kB / 1.054 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.743, allocations: 2.006 MB / 1.055 GB, free: 141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.7435, allocations: 492.8 kB / 1.056 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.7437, allocations: 146.5 kB / 1.056 GB, free: 140.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.7438, allocations: 304.9 kB / 1.056 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.7451, allocations: 0.9135 MB / 1.057 GB, free: 140.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.7467, allocations: 1.592 MB / 1.059 GB, free: 139.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.75, allocations: 2.737 MB / 1.062 GB, free: 138.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.7501, allocations: 8.938 kB / 1.062 GB, free: 138.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007801/0.7579, allocations: 3.526 MB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.758, allocations: 20.81 kB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/0.758, allocations: 21.78 kB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.761, allocations: 0.9007 MB / 1.066 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.7624, allocations: 352.1 kB / 1.066 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.7796, allocations: 21.24 MB / 1.087 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.7814, allocations: 100.4 kB / 1.087 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.7816, allocations: 88.83 kB / 1.087 GB, free: 119.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002777/0.7843, allocations: 1.609 MB / 1.089 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/0.7848, allocations: 203.9 kB / 1.089 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/0.7893, allocations: 2.994 MB / 1.092 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.7893, allocations: 11.84 kB / 1.092 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.7893, allocations: 11.81 kB / 1.092 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.7893, allocations: 7.406 kB / 1.092 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.801, allocations: 7.334 MB / 1.099 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.801, allocations: 3.938 kB / 1.099 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/0.8018, allocations: 180.8 kB / 1.099 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/0.8042, allocations: 0.8233 MB / 1.1 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.8043, allocations: 27.91 kB / 1.1 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.8177, allocations: 20.33 MB / 1.12 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8178, allocations: 7.844 kB / 1.12 GB, free: 94.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.8224, allocations: 3.022 MB / 1.123 GB, free: 92.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.8233, allocations: 454.5 kB / 1.123 GB, free: 91.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.8237, allocations: 31.98 kB / 1.123 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.8244, allocations: 71.92 kB / 1.123 GB, free: 91.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/0.8248, allocations: 123.9 kB / 1.123 GB, free: 91.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.8249, allocations: 43.83 kB / 1.124 GB, free: 91.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00101/0.8259, allocations: 0.9834 MB / 1.124 GB, free: 90.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8259, allocations: 0 / 1.124 GB, free: 90.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002552/0.8285, allocations: 0.7852 MB / 1.125 GB, free: 89.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.8287, allocations: 143 kB / 1.125 GB, free: 89.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004635/0.8333, allocations: 4.035 MB / 1.129 GB, free: 85.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.8334, allocations: 0 / 1.129 GB, free: 85.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002833/0.8362, allocations: 2.737 MB / 1.132 GB, free: 82.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/0.8402, allocations: 0.6823 MB / 1.133 GB, free: 81.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.8519, allocations: 9.764 MB / 1.142 GB, free: 71.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/0.8552, allocations: 3.187 MB / 1.145 GB, free: 68.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005738/0.8558, allocations: 127.4 kB / 1.145 GB, free: 68.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.8558, allocations: 0 / 1.145 GB, free: 68.51 MB / 0.698 GB Notification: Performance of Templates: time 0.5546/1.41, allocations: 321 MB / 1.459 GB, free: 251.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)