Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001076/0.001076, allocations: 103.1 kB / 16.35 MB, free: 5.879 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.001053/0.001053, allocations: 198 kB / 17.29 MB, free: 5.516 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.001542/0.001542, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2661, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4993/0.7655, allocations: 26.58 MB / 0.8107 GB, free: 34.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.7884, allocations: 8.119 MB / 0.8187 GB, free: 28.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/0.7927, allocations: 115.8 kB / 0.8188 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01191/0.8047, allocations: 2.752 MB / 0.8215 GB, free: 27.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.8107, allocations: 1.581 MB / 0.823 GB, free: 26.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005898/0.8166, allocations: 1.68 MB / 0.8247 GB, free: 25.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01049/0.8271, allocations: 6.137 MB / 0.8306 GB, free: 22.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.8392, allocations: 7.429 MB / 0.8379 GB, free: 19.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/0.8452, allocations: 2.57 MB / 0.8404 GB, free: 18.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006217/0.8514, allocations: 2.827 MB / 0.8432 GB, free: 17.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.8534, allocations: 0.5086 MB / 0.8437 GB, free: 17.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.8578, allocations: 1.287 MB / 0.8449 GB, free: 16.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003223/0.861, allocations: 2.054 MB / 0.8469 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004765/0.8658, allocations: 2.388 MB / 0.8493 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.013/0.8788, allocations: 8.048 MB / 0.8571 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.8788, allocations: 1.5 kB / 0.8571 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8789, allocations: 0 / 0.8571 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002406/0.8791, allocations: 0 / 0.8571 GB, free: 10.23 MB / 0.6544 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.01152/0.8906, allocations: 4.23 MB / 0.8613 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8907, allocations: 9.438 kB / 0.8613 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.8955, allocations: 0.8066 MB / 0.862 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.9016, allocations: 2.425 MB / 0.8644 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.9019, allocations: 266.6 kB / 0.8647 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.9031, allocations: 377 kB / 0.865 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.9152, allocations: 5.992 MB / 0.8709 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.9154, allocations: 22.75 kB / 0.8709 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006727/0.9161, allocations: 154.5 kB / 0.8711 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006112/0.9167, allocations: 280.2 kB / 0.8713 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008755/0.9254, allocations: 4.527 MB / 0.8757 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03365/0.9591, allocations: 27.46 MB / 0.9026 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.9609, allocations: 1.131 MB / 0.9037 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.9623, allocations: 1.016 MB / 0.9047 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.9624, allocations: 17 kB / 0.9047 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.9624, allocations: 43.56 kB / 0.9047 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.065e-06/0.9624, allocations: 4 kB / 0.9047 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02351/0.986, allocations: 9.649 MB / 0.9141 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.986, allocations: 72.7 kB / 0.9142 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.9886, allocations: 1.494 MB / 0.9157 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.9888, allocations: 49.7 kB / 0.9157 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.9902, allocations: 1.659 MB / 0.9173 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/0.991, allocations: 477.2 kB / 0.9178 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007982/0.9919, allocations: 327.2 kB / 0.9181 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.992, allocations: 305.1 kB / 0.9184 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.9942, allocations: 0.9174 MB / 0.9193 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.9971, allocations: 1.467 MB / 0.9207 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005201/1.002, allocations: 2.542 MB / 0.9232 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/1.002, allocations: 12 kB / 0.9232 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00916/1.012, allocations: 3.286 MB / 0.9264 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/1.012, allocations: 12 kB / 0.9264 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/1.012, allocations: 20 kB / 0.9265 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.015, allocations: 0.7378 MB / 0.9272 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/1.017, allocations: 383.4 kB / 0.9275 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/1.039, allocations: 17.03 MB / 0.9442 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.042, allocations: 99.97 kB / 0.9443 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/1.042, allocations: 83.98 kB / 0.9443 GB, free: 2.137 MB / 0.7325 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.002874/1.045, allocations: 1.306 MB / 0.9456 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/1.045, allocations: 205.6 kB / 0.9458 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005212/1.051, allocations: 2.788 MB / 0.9485 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.051, allocations: 12.14 kB / 0.9486 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.051, allocations: 8 kB / 0.9486 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.051, allocations: 7.969 kB / 0.9486 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.062, allocations: 6.221 MB / 0.9546 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.062, allocations: 8.031 kB / 0.9547 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/1.063, allocations: 227.7 kB / 0.9549 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/1.065, allocations: 0.6673 MB / 0.9555 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.066, allocations: 35.98 kB / 0.9556 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/1.081, allocations: 16.79 MB / 0.972 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.081, allocations: 7.938 kB / 0.972 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/1.087, allocations: 4.004 MB / 0.9759 GB, free: 244 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.088, allocations: 453.6 kB / 0.9763 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/1.089, allocations: 39.84 kB / 0.9763 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/1.09, allocations: 83.89 kB / 0.9764 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/1.09, allocations: 112.7 kB / 0.9765 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/1.09, allocations: 40 kB / 0.9766 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001325/1.091, allocations: 0.9981 MB / 0.9775 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 0 / 0.9775 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002377/1.094, allocations: 0.6875 MB / 0.9782 GB, free: 13.83 MB / 0.7794 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.000272/1.094, allocations: 152 kB / 0.9784 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00528/1.099, allocations: 3.515 MB / 0.9818 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.099, allocations: 12.25 kB / 0.9818 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.102, allocations: 2.287 MB / 0.984 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.105, allocations: 0.6747 MB / 0.9847 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.116, allocations: 6.433 MB / 0.991 GB, free: 476 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.119, allocations: 2.672 MB / 0.9936 GB, free: 13.76 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001658/1.121, allocations: 481.4 kB / 0.994 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/1.121, allocations: 119.4 kB / 0.9942 GB, free: 13.17 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/1.121, allocations: 0 / 0.9942 GB, free: 13.17 MB / 0.795 GB Notification: Performance of Templates: time 0.05553/1.177, allocations: 33.65 MB / 1.027 GB, free: 12.04 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)