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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.729/1.729, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.699/1.699, allocations: 251.7 MB / 0.5092 GB, free: 3.113 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.001598/0.001599, allocations: 75.83 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7048, allocations: 104.7 MB / 0.7245 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02987/0.7347, allocations: 26.6 MB / 0.7505 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.7513, allocations: 8.122 MB / 0.7584 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.7558, allocations: 115.4 kB / 0.7585 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007731/0.7636, allocations: 2.759 MB / 0.7612 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006361/0.77, allocations: 1.582 MB / 0.7628 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006591/0.7766, allocations: 1.679 MB / 0.7644 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.7886, allocations: 6.135 MB / 0.7704 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.7997, allocations: 7.412 MB / 0.7777 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/0.8052, allocations: 2.563 MB / 0.7802 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.8108, allocations: 2.831 MB / 0.7829 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.8124, allocations: 0.5078 MB / 0.7834 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.8167, allocations: 1.283 MB / 0.7847 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002765/0.8194, allocations: 2.054 MB / 0.7867 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005317/0.8248, allocations: 2.381 MB / 0.789 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.8364, allocations: 7.997 MB / 0.7968 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.8364, allocations: 0 / 0.7968 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8364, allocations: 0 / 0.7968 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003394/0.8368, allocations: 0 / 0.7968 GB, free: 2.746 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01349/0.8503, allocations: 4.247 MB / 0.801 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/0.8504, allocations: 8.031 kB / 0.801 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.8552, allocations: 0.8 MB / 0.8017 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/0.861, allocations: 2.424 MB / 0.8041 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.8612, allocations: 271.6 kB / 0.8044 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000941/0.8622, allocations: 376.6 kB / 0.8047 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.8742, allocations: 5.992 MB / 0.8106 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.8743, allocations: 15.88 kB / 0.8106 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.8747, allocations: 164 kB / 0.8108 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007457/0.8755, allocations: 282.9 kB / 0.811 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009099/0.8846, allocations: 4.528 MB / 0.8154 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.9219, allocations: 27.66 MB / 0.8425 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.9238, allocations: 1.115 MB / 0.8435 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.9252, allocations: 1.023 MB / 0.8445 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.9252, allocations: 9 kB / 0.8445 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.9253, allocations: 51.56 kB / 0.8446 GB, free: 14.89 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.587e-06/0.9253, allocations: 0 / 0.8446 GB, free: 14.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.02272/0.948, allocations: 9.665 MB / 0.854 GB, free: 5.016 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.9481, allocations: 64.72 kB / 0.8541 GB, free: 4.941 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.9504, allocations: 1.494 MB / 0.8556 GB, free: 3.449 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.9506, allocations: 49.7 kB / 0.8556 GB, free: 3.395 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.9517, allocations: 1.667 MB / 0.8572 GB, free: 1.703 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/0.9522, allocations: 469.2 kB / 0.8577 GB, free: 1.238 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005323/0.9527, allocations: 323.2 kB / 0.858 GB, free: 0.918 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9529, allocations: 313 kB / 0.8583 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.9542, allocations: 0.9135 MB / 0.8592 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.9559, allocations: 1.463 MB / 0.8606 GB, free: 14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.9594, allocations: 2.55 MB / 0.8631 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9594, allocations: 4 kB / 0.8631 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00643/0.9658, allocations: 3.29 MB / 0.8663 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.9659, allocations: 16.12 kB / 0.8663 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.9659, allocations: 20 kB / 0.8663 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.9683, allocations: 0.7374 MB / 0.8671 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.9701, allocations: 387.3 kB / 0.8674 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.9894, allocations: 17.06 MB / 0.8841 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.9917, allocations: 103.9 kB / 0.8842 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/0.992, allocations: 72 kB / 0.8843 GB, free: 4.191 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003038/0.995, allocations: 1.318 MB / 0.8856 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/0.9957, allocations: 197.7 kB / 0.8857 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/1.001, allocations: 2.784 MB / 0.8885 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/1.002, allocations: 16 kB / 0.8885 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/1.002, allocations: 4 kB / 0.8885 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.002, allocations: 11.97 kB / 0.8885 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.014, allocations: 6.22 MB / 0.8946 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.014, allocations: 4 kB / 0.8946 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.015, allocations: 231.7 kB / 0.8948 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/1.017, allocations: 0.6754 MB / 0.8954 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.018, allocations: 32 kB / 0.8955 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/1.034, allocations: 16.8 MB / 0.9119 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.034, allocations: 11.94 kB / 0.9119 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/1.041, allocations: 3.997 MB / 0.9158 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.043, allocations: 458.7 kB / 0.9162 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/1.043, allocations: 35.92 kB / 0.9163 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/1.044, allocations: 87.83 kB / 0.9164 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/1.044, allocations: 112.7 kB / 0.9165 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/1.045, allocations: 40 kB / 0.9165 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001614/1.046, allocations: 0.9942 MB / 0.9175 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.046, allocations: 0 / 0.9175 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.6308/1.677, allocations: 0.6833 MB / 0.9181 GB, free: 175.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007412/1.678, allocations: 144.8 kB / 0.9183 GB, free: 175.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.691, allocations: 4.103 MB / 0.9223 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/1.691, allocations: 3.438 kB / 0.9223 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006491/1.697, allocations: 2.291 MB / 0.9245 GB, free: 173.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007025/1.704, allocations: 0.6676 MB / 0.9252 GB, free: 173.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/1.729, allocations: 6.531 MB / 0.9316 GB, free: 170.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/1.735, allocations: 2.666 MB / 0.9342 GB, free: 169.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003313/1.738, allocations: 489.8 kB / 0.9346 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/1.739, allocations: 118.1 kB / 0.9347 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.843e-06/1.739, allocations: 0 / 0.9347 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.09086/1.83, allocations: 33.65 MB / 0.9676 GB, free: 146.3 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)