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.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001135/0.001135, allocations: 195.9 kB / 377.1 MB, free: 1.52 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.852/1.852, allocations: 205.4 MB / 0.6367 GB, free: 8.531 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.00109/0.00109, allocations: 90.39 kB / 0.751 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006557/0.0006554, allocations: 15.98 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3361, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9293/1.265, allocations: 172.5 MB / 1.157 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.266, allocations: 101.2 kB / 1.157 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4796/1.745, allocations: 202.2 MB / 1.354 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.286e-06/1.746, allocations: 0 / 1.354 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004926/1.746, allocations: 143.9 kB / 1.355 GB, free: 13.07 MB / 0.9323 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.02104/1.767, allocations: 5.25 MB / 1.36 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.767, allocations: 8.031 kB / 1.36 GB, free: 7.742 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009313/1.777, allocations: 1.136 MB / 1.361 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/1.788, allocations: 3.707 MB / 1.364 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005502/1.789, allocations: 431.6 kB / 1.365 GB, free: 2.418 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/1.792, allocations: 0.5468 MB / 1.365 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6785/2.471, allocations: 8.811 MB / 1.374 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/2.471, allocations: 18.75 kB / 1.374 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009958/2.472, allocations: 258.9 kB / 1.374 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003242/2.472, allocations: 296 kB / 1.374 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/2.489, allocations: 6.437 MB / 1.381 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05864/2.547, allocations: 41.46 MB / 1.421 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004722/2.552, allocations: 3.104 MB / 1.424 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/2.552, allocations: 20.81 kB / 1.424 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/2.552, allocations: 63.42 kB / 1.424 GB, free: 129 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 4.729e-06/2.552, allocations: 1.969 kB / 1.424 GB, free: 129 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.02352/2.576, allocations: 10.47 MB / 1.435 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/2.576, allocations: 72.94 kB / 1.435 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/2.578, allocations: 1.674 MB / 1.436 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/2.579, allocations: 65.23 kB / 1.436 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/2.58, allocations: 2.373 MB / 1.439 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007087/2.581, allocations: 0.7287 MB / 1.439 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/2.581, allocations: 49.34 kB / 1.439 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001611/2.581, allocations: 406.3 kB / 1.44 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/2.583, allocations: 1.322 MB / 1.441 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/2.585, allocations: 2.102 MB / 1.443 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/2.587, allocations: 1.676 MB / 1.445 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/2.587, allocations: 12.89 kB / 1.445 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008184/2.595, allocations: 4.971 MB / 1.45 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/2.595, allocations: 16.66 kB / 1.45 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-05/2.595, allocations: 26.09 kB / 1.45 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/2.599, allocations: 1.544 MB / 1.451 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/2.6, allocations: 442 kB / 1.452 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/2.621, allocations: 17.68 MB / 1.469 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/2.624, allocations: 148.6 kB / 1.469 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/2.624, allocations: 104.6 kB / 1.469 GB, free: 119 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 () * 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.004355/2.628, allocations: 1.945 MB / 1.471 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008263/2.629, allocations: 286.6 kB / 1.471 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/2.636, allocations: 4.442 MB / 1.476 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/2.636, allocations: 23.73 kB / 1.476 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/2.636, allocations: 19.84 kB / 1.476 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/2.636, allocations: 10.92 kB / 1.476 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/2.653, allocations: 9.634 MB / 1.485 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/2.653, allocations: 3.219 kB / 1.485 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009595/2.654, allocations: 244.2 kB / 1.485 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/2.657, allocations: 1.394 MB / 1.487 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/2.657, allocations: 39.12 kB / 1.487 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02184/2.679, allocations: 17.69 MB / 1.504 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/2.679, allocations: 8.094 kB / 1.504 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008714/2.688, allocations: 4.87 MB / 1.509 GB, free: 99.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/2.69, allocations: 0.6325 MB / 1.509 GB, free: 98.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/2.69, allocations: 43.83 kB / 1.509 GB, free: 98.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/2.692, allocations: 117 kB / 1.51 GB, free: 98.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000691/2.692, allocations: 177.1 kB / 1.51 GB, free: 98.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/2.693, allocations: 63.45 kB / 1.51 GB, free: 98.81 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002275/2.695, allocations: 1.259 MB / 1.511 GB, free: 98.32 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.41e-07/2.695, allocations: 0 / 1.511 GB, free: 98.32 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005784/2.701, allocations: 1.176 MB / 1.512 GB, free: 98.23 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 () * 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.0004656/2.701, allocations: 175.6 kB / 1.512 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009245/2.71, allocations: 4.6 MB / 1.517 GB, free: 96.16 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/2.71, allocations: 3.031 kB / 1.517 GB, free: 96.16 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/2.716, allocations: 2.927 MB / 1.52 GB, free: 94.77 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/2.72, allocations: 0.7669 MB / 1.52 GB, free: 94.58 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/2.742, allocations: 11.17 MB / 1.531 GB, free: 88.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007079/2.749, allocations: 3.789 MB / 1.535 GB, free: 87.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003148/2.752, allocations: 0.5414 MB / 1.536 GB, free: 87.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/2.753, allocations: 154.1 kB / 1.536 GB, free: 87.22 MB / 0.9323 GB Notification: Performance of SimCode: time 1.513e-06/2.753, allocations: 0 / 1.536 GB, free: 87.22 MB / 0.9323 GB Notification: Performance of Templates: time 0.08394/2.836, allocations: 47.56 MB / 1.582 GB, free: 85.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)