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_N.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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, 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.0009445/0.0009448, allocations: 178.8 kB / 327.6 MB, free: 2.164 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.499/1.499, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.000718/0.000718, allocations: 82.42 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 17.06 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5572/0.7272, allocations: 165.3 MB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.7276, allocations: 98.69 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4197/1.147, allocations: 202.3 MB / 1.26 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/1.147, allocations: 0 / 1.26 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004477/1.148, allocations: 144 kB / 1.26 GB, free: 15.42 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01739/1.165, allocations: 5.18 MB / 1.266 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.165, allocations: 11.97 kB / 1.266 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007663/1.173, allocations: 1.153 MB / 1.267 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009938/1.183, allocations: 3.77 MB / 1.27 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/1.183, allocations: 436 kB / 1.271 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/1.186, allocations: 0.551 MB / 1.271 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/1.209, allocations: 8.863 MB / 1.28 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002839/1.209, allocations: 20.05 kB / 1.28 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/1.211, allocations: 263.9 kB / 1.28 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003418/1.211, allocations: 291 kB / 1.28 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/1.225, allocations: 6.441 MB / 1.287 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05/1.275, allocations: 41.48 MB / 1.327 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/1.28, allocations: 3.111 MB / 1.33 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/1.282, allocations: 2.156 MB / 1.332 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.851e-05/1.283, allocations: 22 kB / 1.332 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/1.283, allocations: 60.56 kB / 1.333 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=209): time 3.456e-06/1.283, allocations: 0 / 1.333 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of matching and sorting (n=212): time 0.02347/1.306, allocations: 10.62 MB / 1.343 GB, free: 6.578 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.306, allocations: 77.41 kB / 1.343 GB, free: 6.492 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/1.309, allocations: 1.931 MB / 1.345 GB, free: 4.543 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.309, allocations: 61.7 kB / 1.345 GB, free: 4.477 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/1.311, allocations: 2.377 MB / 1.347 GB, free: 2.066 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007222/1.312, allocations: 0.7318 MB / 1.348 GB, free: 1.324 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.312, allocations: 48 kB / 1.348 GB, free: 1.277 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.312, allocations: 415.2 kB / 1.348 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/1.314, allocations: 1.317 MB / 1.35 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/1.316, allocations: 2.101 MB / 1.352 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/1.321, allocations: 3.772 MB / 1.355 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/1.321, allocations: 12 kB / 1.355 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007718/1.329, allocations: 4.971 MB / 1.36 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/1.329, allocations: 16 kB / 1.36 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.329, allocations: 24 kB / 1.36 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/1.332, allocations: 1.537 MB / 1.362 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.334, allocations: 443.2 kB / 1.362 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.355, allocations: 17.02 MB / 1.379 GB, free: 392 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/1.357, allocations: 147.9 kB / 1.379 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/1.357, allocations: 108 kB / 1.379 GB, free: 136 kB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.4325/1.79, allocations: 1.941 MB / 1.381 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/1.79, allocations: 287.4 kB / 1.381 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00666/1.797, allocations: 4.441 MB / 1.386 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.797, allocations: 22.66 kB / 1.386 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.797, allocations: 20.7 kB / 1.386 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/1.797, allocations: 12.14 kB / 1.386 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.816, allocations: 9.642 MB / 1.395 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.816, allocations: 4.531 kB / 1.395 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/1.817, allocations: 236.2 kB / 1.395 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/1.82, allocations: 1.393 MB / 1.397 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.82, allocations: 41 kB / 1.397 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/1.838, allocations: 17.05 MB / 1.413 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.838, allocations: 3.906 kB / 1.413 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/1.845, allocations: 4.527 MB / 1.418 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.846, allocations: 0.6306 MB / 1.418 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/1.847, allocations: 36.72 kB / 1.418 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.848, allocations: 118.8 kB / 1.419 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004953/1.848, allocations: 185.1 kB / 1.419 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.848, allocations: 59.72 kB / 1.419 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001536/1.85, allocations: 1.261 MB / 1.42 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.85, allocations: 0 / 1.42 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003098/1.853, allocations: 1.181 MB / 1.421 GB, free: 179.4 MB / 0.8542 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002789/1.853, allocations: 162.2 kB / 1.421 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005654/1.859, allocations: 4.616 MB / 1.426 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.859, allocations: 6.5 kB / 1.426 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/1.863, allocations: 2.913 MB / 1.429 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/1.867, allocations: 0.7824 MB / 1.429 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.883, allocations: 11.18 MB / 1.44 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/1.887, allocations: 3.689 MB / 1.444 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002155/1.889, allocations: 0.5453 MB / 1.444 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/1.889, allocations: 149.2 kB / 1.445 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/1.889, allocations: 0 / 1.445 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.06971/1.959, allocations: 48.11 MB / 1.492 GB, free: 171.1 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)