Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 289.7 MB / 302.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001244, allocations: 176.4 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008774/0.0008773, allocations: 90.02 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.419e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6898/0.924, allocations: 172.4 MB / 1.148 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.9243, allocations: 96.05 kB / 1.148 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4704/1.395, allocations: 201.3 MB / 1.345 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.845e-06/1.395, allocations: 0 / 1.345 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004921/1.395, allocations: 143.9 kB / 1.345 GB, free: 10.75 MB / 0.9167 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.01698/1.412, allocations: 4.879 MB / 1.35 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.412, allocations: 8.031 kB / 1.35 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008583/1.421, allocations: 1.14 MB / 1.351 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009556/1.431, allocations: 3.684 MB / 1.354 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004232/1.431, allocations: 427.6 kB / 1.355 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/1.433, allocations: 0.5585 MB / 1.355 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/1.456, allocations: 8.715 MB / 1.364 GB, free: 6.781 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002546/1.456, allocations: 19.81 kB / 1.364 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/1.458, allocations: 252 kB / 1.364 GB, free: 6.516 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004388/1.458, allocations: 303 kB / 1.365 GB, free: 6.219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5304/1.989, allocations: 6.32 MB / 1.371 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05284/2.042, allocations: 41.46 MB / 1.411 GB, free: 130 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/2.047, allocations: 3.076 MB / 1.414 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/2.049, allocations: 2.129 MB / 1.416 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/2.049, allocations: 20.38 kB / 1.416 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/2.049, allocations: 65.03 kB / 1.416 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 3.977e-06/2.049, allocations: 0 / 1.416 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.01016/2.06, allocations: 6.593 MB / 1.423 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/2.06, allocations: 72.28 kB / 1.423 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/2.062, allocations: 1.647 MB / 1.424 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/2.062, allocations: 67.77 kB / 1.425 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/2.063, allocations: 2.363 MB / 1.427 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005648/2.064, allocations: 0.735 MB / 1.428 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/2.064, allocations: 50.25 kB / 1.428 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000159/2.064, allocations: 409.7 kB / 1.428 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/2.066, allocations: 1.292 MB / 1.429 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/2.068, allocations: 2.082 MB / 1.431 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/2.07, allocations: 1.668 MB / 1.433 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/2.07, allocations: 9.062 kB / 1.433 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007213/2.077, allocations: 4.926 MB / 1.438 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/2.077, allocations: 16.19 kB / 1.438 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/2.077, allocations: 24.52 kB / 1.438 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/2.08, allocations: 1.525 MB / 1.439 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/2.082, allocations: 442.2 kB / 1.44 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/2.099, allocations: 16.95 MB / 1.456 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/2.102, allocations: 147.3 kB / 1.456 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/2.103, allocations: 113 kB / 1.456 GB, free: 120.2 MB / 0.9323 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 () * 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.0006101/2.103, allocations: 263 kB / 1.457 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/2.104, allocations: 290.2 kB / 1.457 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006763/2.111, allocations: 4.402 MB / 1.461 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/2.111, allocations: 20.5 kB / 1.461 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/2.111, allocations: 22.88 kB / 1.461 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/2.111, allocations: 14.5 kB / 1.461 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/2.126, allocations: 9.598 MB / 1.471 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/2.126, allocations: 9.594 kB / 1.471 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/2.127, allocations: 236.8 kB / 1.471 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/2.13, allocations: 1.392 MB / 1.472 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/2.13, allocations: 39.75 kB / 1.472 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/2.148, allocations: 16.96 MB / 1.489 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/2.148, allocations: 13.56 kB / 1.489 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007083/2.155, allocations: 4.839 MB / 1.494 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/2.157, allocations: 0.6336 MB / 1.494 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/2.158, allocations: 39.56 kB / 1.494 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/2.159, allocations: 118.3 kB / 1.494 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005477/2.159, allocations: 183.9 kB / 1.495 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/2.159, allocations: 56.5 kB / 1.495 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001875/2.161, allocations: 1.235 MB / 1.496 GB, free: 106 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.124e-06/2.161, allocations: 0 / 1.496 GB, free: 106 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004136/2.165, allocations: 1.179 MB / 1.497 GB, free: 105.9 MB / 0.9323 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 () * 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.000354/2.166, allocations: 171.9 kB / 1.497 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006303/2.172, allocations: 4.534 MB / 1.502 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/2.172, allocations: 0.6562 kB / 1.502 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/2.176, allocations: 2.871 MB / 1.504 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/2.18, allocations: 0.7633 MB / 1.505 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/2.194, allocations: 7.463 MB / 1.512 GB, free: 99.48 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004618/2.199, allocations: 3.783 MB / 1.516 GB, free: 98.15 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002437/2.201, allocations: 0.5427 MB / 1.517 GB, free: 98.12 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/2.202, allocations: 149.4 kB / 1.517 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/2.202, allocations: 0.9688 kB / 1.517 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of Templates: time 0.08537/2.287, allocations: 47.56 MB / 1.563 GB, free: 96.31 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)