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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005936/0.005936, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001355/0.001355, allocations: 188.6 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.547/1.547, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001449/0.001449, allocations: 67.89 kB / 0.7258 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.8899, allocations: 104.7 MB / 0.828 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0393/0.9293, allocations: 35.01 MB / 0.8622 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02198/0.9513, allocations: 10.01 MB / 0.872 GB, free: 5.594 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004968/0.9564, allocations: 143.3 kB / 0.8722 GB, free: 5.453 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.9673, allocations: 3.808 MB / 0.8759 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007482/0.9748, allocations: 2.146 MB / 0.878 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.9809, allocations: 1.961 MB / 0.8799 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.9916, allocations: 7.994 MB / 0.8877 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01828/1.01, allocations: 9.522 MB / 0.897 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009627/1.02, allocations: 3.423 MB / 0.9003 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008404/1.028, allocations: 3.734 MB / 0.904 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003117/1.031, allocations: 0.6796 MB / 0.9046 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005426/1.037, allocations: 1.443 MB / 0.9061 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005895/1.043, allocations: 2.624 MB / 0.9086 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008671/1.051, allocations: 3.093 MB / 0.9116 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01741/1.069, allocations: 10.39 MB / 0.9218 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/1.069, allocations: 3.984 kB / 0.9218 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/1.069, allocations: 0 / 0.9218 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004954/1.069, allocations: 0 / 0.9218 GB, free: 2.414 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02191/1.091, allocations: 5.409 MB / 0.9271 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.045e-05/1.091, allocations: 8.031 kB / 0.9271 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007305/1.099, allocations: 0.9665 MB / 0.928 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008347/1.107, allocations: 3.174 MB / 0.9311 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/1.107, allocations: 361.9 kB / 0.9315 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/1.109, allocations: 468.3 kB / 0.9319 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/1.124, allocations: 7.898 MB / 0.9396 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/1.124, allocations: 27.72 kB / 0.9396 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/1.124, allocations: 208 kB / 0.9398 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004998/1.125, allocations: 365.1 kB / 0.9402 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/1.136, allocations: 5.937 MB / 0.946 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04419/1.18, allocations: 35.96 MB / 0.9811 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/1.183, allocations: 2.135 MB / 0.9832 GB, free: 15.76 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/1.185, allocations: 1.484 MB / 0.9846 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/1.186, allocations: 13.31 kB / 0.9846 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/1.186, allocations: 55.81 kB / 0.9847 GB, free: 14.2 MB / 0.795 GB Notification: Performance of pre-optimization done (n=157): time 4.829e-06/1.186, allocations: 0 / 0.9847 GB, free: 14.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=160): time 0.01523/1.201, allocations: 7.548 MB / 0.9921 GB, free: 6.383 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.201, allocations: 68.72 kB / 0.9921 GB, free: 6.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/1.205, allocations: 1.86 MB / 0.994 GB, free: 4.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.205, allocations: 53.7 kB / 0.994 GB, free: 4.359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.207, allocations: 2.119 MB / 0.9961 GB, free: 2.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000705/1.207, allocations: 0.5584 MB / 0.9966 GB, free: 1.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008415/1.208, allocations: 403.7 kB / 0.997 GB, free: 1.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.208, allocations: 305.1 kB / 0.9973 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.21, allocations: 1.066 MB / 0.9983 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/1.212, allocations: 1.756 MB / 1 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/1.216, allocations: 3.049 MB / 1.003 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/1.216, allocations: 11.94 kB / 1.003 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007037/1.223, allocations: 3.921 MB / 1.007 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/1.223, allocations: 16 kB / 1.007 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/1.223, allocations: 24.12 kB / 1.007 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/1.226, allocations: 0.935 MB / 1.008 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.228, allocations: 431.2 kB / 1.008 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/1.253, allocations: 22.75 MB / 1.03 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/1.255, allocations: 123.9 kB / 1.031 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/1.256, allocations: 96.45 kB / 1.031 GB, free: 12.38 MB / 0.8419 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.004246/1.26, allocations: 1.648 MB / 1.032 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/1.261, allocations: 257 kB / 1.033 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/1.268, allocations: 3.256 MB / 1.036 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.268, allocations: 16 kB / 1.036 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.812e-05/1.268, allocations: 12 kB / 1.036 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/1.268, allocations: 7.969 kB / 1.036 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.284, allocations: 7.56 MB / 1.043 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.284, allocations: 4 kB / 1.043 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/1.285, allocations: 215.6 kB / 1.043 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/1.288, allocations: 0.8926 MB / 1.044 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.288, allocations: 32 kB / 1.044 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/1.309, allocations: 22.72 MB / 1.066 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.309, allocations: 4.312 kB / 1.066 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/1.316, allocations: 3.383 MB / 1.07 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.318, allocations: 0.533 MB / 1.07 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008448/1.319, allocations: 28 kB / 1.07 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.321, allocations: 103.8 kB / 1.07 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005103/1.321, allocations: 137 kB / 1.071 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.321, allocations: 48.14 kB / 1.071 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002621/1.324, allocations: 1.225 MB / 1.072 GB, free: 208 kB / 0.8731 GB Notification: Performance of sort global known variables: time 4.91e-07/1.324, allocations: 0 / 1.072 GB, free: 208 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004274/1.328, allocations: 0.9063 MB / 1.073 GB, free: 15.29 MB / 0.8887 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004036/1.329, allocations: 152.8 kB / 1.073 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00735/1.336, allocations: 4.428 MB / 1.077 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.336, allocations: 4.125 kB / 1.077 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004468/1.34, allocations: 2.995 MB / 1.08 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.346, allocations: 0.8172 MB / 1.081 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.365, allocations: 7.608 MB / 1.088 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005465/1.37, allocations: 3.213 MB / 1.091 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002206/1.373, allocations: 0.5254 MB / 1.092 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/1.373, allocations: 139.4 kB / 1.092 GB, free: 11 MB / 0.9044 GB Notification: Performance of SimCode: time 1.583e-06/1.373, allocations: 0 / 1.092 GB, free: 11 MB / 0.9044 GB Notification: Performance of Templates: time 0.6888/2.062, allocations: 41.63 MB / 1.133 GB, free: 237.6 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)