Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001143/0.001143, allocations: 179.2 kB / 371.6 MB, free: 3.426 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.684/1.684, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.000797/0.000797, allocations: 91.89 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.323e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6916/0.9141, allocations: 197.3 MB / 1.172 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.9145, allocations: 92.62 kB / 1.173 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2608/1.175, allocations: 113.2 MB / 1.283 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.493e-06/1.175, allocations: 0 / 1.283 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001565/1.176, allocations: 75.98 kB / 1.283 GB, free: 11.38 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005786/1.181, allocations: 2.677 MB / 1.286 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.181, allocations: 12.03 kB / 1.286 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/1.186, allocations: 0.6536 MB / 1.286 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/1.19, allocations: 2.067 MB / 1.288 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/1.19, allocations: 222 kB / 1.289 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006184/1.191, allocations: 299.9 kB / 1.289 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008385/1.199, allocations: 4.56 MB / 1.293 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/1.199, allocations: 19.88 kB / 1.293 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/1.2, allocations: 128 kB / 1.294 GB, free: 388 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/1.2, allocations: 173.8 kB / 1.294 GB, free: 212 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/1.206, allocations: 3.345 MB / 1.297 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/1.23, allocations: 21.59 MB / 1.318 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/1.232, allocations: 1.278 MB / 1.319 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.234, allocations: 1.026 MB / 1.32 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/1.234, allocations: 13 kB / 1.32 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.234, allocations: 51.5 kB / 1.32 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=107): time 3.337e-06/1.234, allocations: 0 / 1.32 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138): time 0.01916/1.253, allocations: 6.64 MB / 1.327 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.253, allocations: 68.72 kB / 1.327 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/1.255, allocations: 0.9537 MB / 1.328 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/1.255, allocations: 49.7 kB / 1.328 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/1.256, allocations: 1.3 MB / 1.329 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/1.256, allocations: 481.1 kB / 1.33 GB, free: 9.352 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-05/1.256, allocations: 36 kB / 1.33 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.256, allocations: 377.9 kB / 1.33 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/1.258, allocations: 0.8629 MB / 1.331 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.259, allocations: 1.319 MB / 1.332 GB, free: 6.559 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.261, allocations: 1.102 MB / 1.333 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.261, allocations: 8 kB / 1.333 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006154/1.267, allocations: 3.374 MB / 1.337 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.267, allocations: 13.56 kB / 1.337 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/1.267, allocations: 19.94 kB / 1.337 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/1.27, allocations: 1.138 MB / 1.338 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.271, allocations: 267.5 kB / 1.338 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/1.297, allocations: 12.46 MB / 1.35 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.299, allocations: 87.97 kB / 1.35 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/1.3, allocations: 68 kB / 1.35 GB, free: 3.605 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005795/1.3, allocations: 204.4 kB / 1.35 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/1.301, allocations: 158.1 kB / 1.351 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.312, allocations: 3.091 MB / 1.354 GB, free: 128 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/1.312, allocations: 15.95 kB / 1.354 GB, free: 112 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/1.312, allocations: 12 kB / 1.354 GB, free: 100 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/1.312, allocations: 3.984 kB / 1.354 GB, free: 96 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/1.33, allocations: 6.097 MB / 1.36 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.33, allocations: 4 kB / 1.36 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/1.331, allocations: 152.1 kB / 1.36 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/1.334, allocations: 1.02 MB / 1.361 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.334, allocations: 28 kB / 1.361 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/1.35, allocations: 12.13 MB / 1.373 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.35, allocations: 7.938 kB / 1.373 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005179/1.355, allocations: 3.319 MB / 1.376 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009993/1.356, allocations: 418.9 kB / 1.376 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.356, allocations: 35.98 kB / 1.376 GB, free: 8.098 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/1.357, allocations: 71.91 kB / 1.376 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.357, allocations: 129.1 kB / 1.376 GB, free: 7.902 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/1.358, allocations: 40 kB / 1.377 GB, free: 7.863 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001074/1.359, allocations: 0.7261 MB / 1.377 GB, free: 7.133 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.359, allocations: 0 / 1.377 GB, free: 7.133 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00228/1.361, allocations: 0.668 MB / 1.378 GB, free: 6.465 MB / 0.948 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002759/1.361, allocations: 147.1 kB / 1.378 GB, free: 6.312 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004543/1.366, allocations: 3.018 MB / 1.381 GB, free: 3.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.366, allocations: 0 / 1.381 GB, free: 3.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/1.369, allocations: 1.896 MB / 1.383 GB, free: 1.312 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.37, allocations: 426.5 kB / 1.383 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5997/1.97, allocations: 4.289 MB / 1.387 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003633/1.974, allocations: 2.394 MB / 1.39 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001966/1.976, allocations: 340.1 kB / 1.39 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/1.976, allocations: 85.41 kB / 1.39 GB, free: 215.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/1.976, allocations: 3 kB / 1.39 GB, free: 215.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05416/2.03, allocations: 29.15 MB / 1.419 GB, free: 215.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)