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/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_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 252 MB / 267.9 MB, free: 10.92 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.001026/0.001026, allocations: 179.2 kB / 327.5 MB, free: 2.168 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.565/1.565, allocations: 205.4 MB / 0.5785 GB, free: 20.16 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.0006818/0.0006817, allocations: 89.98 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 12.84 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1709, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6294/0.8004, allocations: 188.7 MB / 1.086 GB, free: 52.52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.8008, allocations: 103.2 kB / 1.086 GB, free: 52.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3051/1.106, allocations: 146.5 MB / 1.229 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/1.106, allocations: 0 / 1.229 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002775/1.106, allocations: 95.58 kB / 1.229 GB, free: 8.23 MB / 0.7292 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.009605/1.116, allocations: 3.459 MB / 1.232 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.116, allocations: 8.031 kB / 1.232 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007604/1.123, allocations: 0.8366 MB / 1.233 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008353/1.132, allocations: 2.616 MB / 1.236 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/1.132, allocations: 274.9 kB / 1.236 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/1.134, allocations: 383.4 kB / 1.236 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/1.149, allocations: 5.732 MB / 1.242 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/1.15, allocations: 15.88 kB / 1.242 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/1.151, allocations: 171.7 kB / 1.242 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/1.151, allocations: 211 kB / 1.242 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009083/1.16, allocations: 4.122 MB / 1.246 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0335/1.194, allocations: 27.69 MB / 1.273 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/1.195, allocations: 1.084 MB / 1.274 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/1.197, allocations: 0.9993 MB / 1.275 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/1.197, allocations: 13 kB / 1.275 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/1.197, allocations: 43.56 kB / 1.275 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/1.197, allocations: 0 / 1.275 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.02111/1.218, allocations: 9.566 MB / 1.285 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.218, allocations: 64.72 kB / 1.285 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/1.221, allocations: 1.474 MB / 1.286 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.221, allocations: 49.69 kB / 1.286 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.222, allocations: 1.665 MB / 1.288 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000436/1.222, allocations: 469.8 kB / 1.288 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/1.223, allocations: 36 kB / 1.288 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.223, allocations: 377.9 kB / 1.289 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/1.224, allocations: 0.8784 MB / 1.29 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.226, allocations: 1.472 MB / 1.291 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/1.229, allocations: 2.534 MB / 1.294 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.229, allocations: 7.938 kB / 1.294 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005698/1.235, allocations: 3.212 MB / 1.297 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.235, allocations: 20.25 kB / 1.297 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.235, allocations: 19.94 kB / 1.297 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.237, allocations: 0.7218 MB / 1.297 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.238, allocations: 399.2 kB / 1.298 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.253, allocations: 15.6 MB / 1.313 GB, free: 13.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.255, allocations: 99.91 kB / 1.313 GB, free: 13.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/1.255, allocations: 80 kB / 1.313 GB, free: 13.07 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003221/1.258, allocations: 1.313 MB / 1.314 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/1.259, allocations: 201.6 kB / 1.315 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/1.264, allocations: 2.737 MB / 1.317 GB, free: 8.762 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.264, allocations: 16 kB / 1.317 GB, free: 8.746 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/1.264, allocations: 11.94 kB / 1.317 GB, free: 8.734 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.264, allocations: 3.984 kB / 1.317 GB, free: 8.73 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.277, allocations: 6.085 MB / 1.323 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.277, allocations: 4 kB / 1.323 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.278, allocations: 236.3 kB / 1.324 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/1.28, allocations: 0.6438 MB / 1.324 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.28, allocations: 40 kB / 1.324 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.294, allocations: 15.33 MB / 1.339 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.294, allocations: 7.938 kB / 1.339 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/1.3, allocations: 3.925 MB / 1.343 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.301, allocations: 446.7 kB / 1.343 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004793/1.302, allocations: 35.92 kB / 1.343 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.303, allocations: 83.89 kB / 1.344 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003279/1.303, allocations: 116.7 kB / 1.344 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/1.303, allocations: 36 kB / 1.344 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001915/1.305, allocations: 0.9747 MB / 1.345 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.305, allocations: 0 / 1.345 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003105/1.309, allocations: 0.6992 MB / 1.345 GB, free: 10.61 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003531/1.309, allocations: 159 kB / 1.345 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005556/1.314, allocations: 3.437 MB / 1.349 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.314, allocations: 4 kB / 1.349 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/1.318, allocations: 2.25 MB / 1.351 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/1.322, allocations: 0.5855 MB / 1.352 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.335, allocations: 7.825 MB / 1.359 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.339, allocations: 2.658 MB / 1.362 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001723/1.341, allocations: 481 kB / 1.362 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.341, allocations: 115.4 kB / 1.362 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/1.341, allocations: 0 / 1.362 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of Templates: time 0.4414/1.782, allocations: 30.61 MB / 1.392 GB, free: 233 MB / 0.8855 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)