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_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 252 MB / 0.5102 GB, free: 4.84 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 12 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6002, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03285/0.6331, allocations: 31.65 MB / 0.7591 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.6524, allocations: 11.05 MB / 0.7698 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004009/0.6565, allocations: 135.2 kB / 0.77 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.6588, allocations: 0.6822 MB / 0.7706 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005947/0.6648, allocations: 1.582 MB / 0.7722 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005518/0.6703, allocations: 1.432 MB / 0.7736 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.6828, allocations: 9.626 MB / 0.783 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02195/0.7048, allocations: 12.57 MB / 0.7953 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.7117, allocations: 2.654 MB / 0.7979 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007754/0.7195, allocations: 3.469 MB / 0.8012 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.721, allocations: 328 kB / 0.8016 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.7248, allocations: 0.9676 MB / 0.8025 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.7284, allocations: 2.455 MB / 0.8049 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002828/0.7312, allocations: 1.104 MB / 0.806 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.745, allocations: 9.925 MB / 0.8157 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.7451, allocations: 3.984 kB / 0.8157 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7451, allocations: 0 / 0.8157 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004674/0.7456, allocations: 0 / 0.8157 GB, free: 1.516 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01407/0.7597, allocations: 4.714 MB / 0.8203 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.7597, allocations: 16.03 kB / 0.8203 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.7671, allocations: 1.063 MB / 0.8213 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009419/0.7765, allocations: 3.196 MB / 0.8244 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004354/0.777, allocations: 411.1 kB / 0.8248 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.7798, allocations: 0.5389 MB / 0.8254 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.8036, allocations: 9.028 MB / 0.8342 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/0.8041, allocations: 31.69 kB / 0.8342 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/0.8059, allocations: 239.9 kB / 0.8344 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004686/0.8064, allocations: 354.7 kB / 0.8348 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.8241, allocations: 6.787 MB / 0.8414 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05992/0.8841, allocations: 40.17 MB / 0.8806 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.8887, allocations: 3.092 MB / 0.8837 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.8918, allocations: 1.95 MB / 0.8856 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.892, allocations: 18 kB / 0.8856 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.8921, allocations: 56.56 kB / 0.8856 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 3.487e-06/0.8921, allocations: 0 / 0.8856 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02535/0.9174, allocations: 9.881 MB / 0.8953 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.9176, allocations: 77.34 kB / 0.8954 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.9202, allocations: 1.511 MB / 0.8968 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.9204, allocations: 53.7 kB / 0.8969 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.922, allocations: 2.257 MB / 0.8991 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007144/0.9228, allocations: 0.6277 MB / 0.8997 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.9229, allocations: 44 kB / 0.8997 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.9231, allocations: 394.4 kB / 0.9001 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.9251, allocations: 1.172 MB / 0.9013 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.9275, allocations: 1.877 MB / 0.9031 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.9299, allocations: 1.501 MB / 0.9046 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.9299, allocations: 8 kB / 0.9046 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.5334/1.463, allocations: 4.557 MB / 0.909 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/1.463, allocations: 16.34 kB / 0.909 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/1.463, allocations: 22.53 kB / 0.9091 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004516/1.468, allocations: 1.586 MB / 0.9106 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.469, allocations: 351.7 kB / 0.9109 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/1.492, allocations: 17.04 MB / 0.9276 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/1.494, allocations: 117.9 kB / 0.9277 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.494, allocations: 94.88 kB / 0.9278 GB, free: 148.4 MB / 0.7169 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 (177): * Single equations (assignments): 173 * 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: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003422/1.498, allocations: 1.896 MB / 0.9296 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/1.498, allocations: 220.2 kB / 0.9298 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006242/1.504, allocations: 4.095 MB / 0.9338 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.504, allocations: 15.5 kB / 0.9339 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/1.504, allocations: 19.38 kB / 0.9339 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.504, allocations: 7.406 kB / 0.9339 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.518, allocations: 9.44 MB / 0.9431 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.518, allocations: 7.375 kB / 0.9431 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/1.519, allocations: 181.4 kB / 0.9433 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/1.521, allocations: 1.347 MB / 0.9446 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.522, allocations: 36 kB / 0.9446 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/1.537, allocations: 15.97 MB / 0.9602 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.537, allocations: 7.938 kB / 0.9602 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/1.543, allocations: 4.042 MB / 0.9642 GB, free: 118.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.544, allocations: 0.5329 MB / 0.9647 GB, free: 118 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/1.545, allocations: 39.95 kB / 0.9647 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/1.546, allocations: 87.89 kB / 0.9648 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/1.546, allocations: 161.7 kB / 0.965 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.546, allocations: 48 kB / 0.965 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0016/1.548, allocations: 0.99 MB / 0.966 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.548, allocations: 0 / 0.966 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003746/1.552, allocations: 0.9844 MB / 0.967 GB, free: 115.7 MB / 0.7169 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 (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000271/1.552, allocations: 154.9 kB / 0.9671 GB, free: 115.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006649/1.559, allocations: 4.283 MB / 0.9713 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.559, allocations: 0 / 0.9713 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/1.563, allocations: 2.675 MB / 0.9739 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/1.567, allocations: 0.7081 MB / 0.9746 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.585, allocations: 10.52 MB / 0.9849 GB, free: 97.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005468/1.591, allocations: 3.576 MB / 0.9883 GB, free: 93.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001626/1.593, allocations: 459.9 kB / 0.9888 GB, free: 93.11 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.593, allocations: 111.4 kB / 0.9889 GB, free: 93 MB / 0.7169 GB Notification: Performance of SimCode: time 1.213e-06/1.593, allocations: 0 / 0.9889 GB, free: 93 MB / 0.7169 GB Notification: Performance of Templates: time 0.06833/1.661, allocations: 40.82 MB / 1.029 GB, free: 52.64 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: