Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 103.1 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 189.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 292 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 103.8 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.455, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04608/0.5011, allocations: 37.66 MB / 0.8039 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02349/0.5246, allocations: 13.05 MB / 0.8166 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004457/0.529, allocations: 167.1 kB / 0.8168 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.5399, allocations: 3.928 MB / 0.8206 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009441/0.5493, allocations: 2.62 MB / 0.8232 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007742/0.5571, allocations: 2.704 MB / 0.8258 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01466/0.5717, allocations: 9.575 MB / 0.8351 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.5838, allocations: 7.682 MB / 0.8426 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007878/0.5916, allocations: 4.074 MB / 0.8466 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009111/0.6007, allocations: 4.384 MB / 0.8509 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002661/0.6034, allocations: 0.7695 MB / 0.8517 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005292/0.6087, allocations: 1.779 MB / 0.8534 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006452/0.6151, allocations: 3.113 MB / 0.8564 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00907/0.6242, allocations: 3.587 MB / 0.8599 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.6437, allocations: 11.88 MB / 0.8715 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6437, allocations: 0 / 0.8715 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6437, allocations: 3.938 kB / 0.8715 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004026/0.6441, allocations: 0 / 0.8715 GB, free: 8.527 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01968/0.6638, allocations: 6.518 MB / 0.8779 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.6639, allocations: 12.03 kB / 0.8779 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009229/0.6731, allocations: 1.324 MB / 0.8792 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009419/0.6825, allocations: 3.817 MB / 0.8829 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.6829, allocations: 382.5 kB / 0.8833 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.6845, allocations: 0.4963 MB / 0.8838 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.7041, allocations: 8.886 MB / 0.8925 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.7043, allocations: 31.83 kB / 0.8925 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006533/0.7049, allocations: 219.9 kB / 0.8927 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002533/0.7075, allocations: 0.6304 MB / 0.8933 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.7211, allocations: 7.014 MB / 0.9002 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.7748, allocations: 40.12 MB / 0.9394 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.7789, allocations: 2.655 MB / 0.9419 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.7825, allocations: 2.413 MB / 0.9443 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.7826, allocations: 26.09 kB / 0.9443 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.7827, allocations: 72.53 kB / 0.9444 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 3.747e-06/0.7827, allocations: 0 / 0.9444 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.6884/1.471, allocations: 74.6 MB / 1.017 GB, free: 154.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.471, allocations: 96.98 kB / 1.017 GB, free: 154.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/1.475, allocations: 2.361 MB / 1.02 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009683/1.475, allocations: 97.7 kB / 1.02 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.477, allocations: 2.406 MB / 1.022 GB, free: 149.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.479, allocations: 1.509 MB / 1.024 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002286/1.481, allocations: 0.7217 MB / 1.024 GB, free: 147.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.481, allocations: 305.1 kB / 1.025 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004033/1.485, allocations: 2.999 MB / 1.027 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/1.489, allocations: 3.847 MB / 1.031 GB, free: 140 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00891/1.498, allocations: 7.38 MB / 1.038 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.498, allocations: 4 kB / 1.038 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02786/1.526, allocations: 12.39 MB / 1.051 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/1.526, allocations: 16 kB / 1.051 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/1.526, allocations: 24 kB / 1.051 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02202/1.548, allocations: 6.027 MB / 1.056 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/1.55, allocations: 491.2 kB / 1.057 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06903/1.619, allocations: 73.05 MB / 1.128 GB, free: 36.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/1.623, allocations: 211.8 kB / 1.128 GB, free: 36.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006889/1.624, allocations: 156 kB / 1.129 GB, free: 36.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003103/1.627, allocations: 1.992 MB / 1.131 GB, free: 34.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009345/1.628, allocations: 409.5 kB / 1.131 GB, free: 34.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/1.654, allocations: 12.04 MB / 1.143 GB, free: 21.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/1.654, allocations: 47.92 kB / 1.143 GB, free: 21.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001638/1.654, allocations: 56 kB / 1.143 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.641e-05/1.654, allocations: 19.92 kB / 1.143 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0356/1.689, allocations: 18.94 MB / 1.161 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/1.689, allocations: 8 kB / 1.161 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.691, allocations: 287.5 kB / 1.162 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02165/1.713, allocations: 5.579 MB / 1.167 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007549/1.713, allocations: 79.98 kB / 1.167 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0933/1.807, allocations: 70.67 MB / 1.236 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.807, allocations: 11.94 kB / 1.236 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0374/1.844, allocations: 15.45 MB / 1.251 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004258/1.848, allocations: 1.061 MB / 1.252 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.85, allocations: 83.94 kB / 1.252 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004323/1.854, allocations: 223.7 kB / 1.253 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002395/1.856, allocations: 394.3 kB / 1.253 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005734/1.857, allocations: 111.9 kB / 1.253 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00431/1.861, allocations: 1.556 MB / 1.255 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.51e-07/1.861, allocations: 0 / 1.255 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01081/1.872, allocations: 1.859 MB / 1.256 GB, free: 13.72 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/1.873, allocations: 221.7 kB / 1.257 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.03928/1.912, allocations: 11.59 MB / 1.268 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-05/1.912, allocations: 7.906 kB / 1.268 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.02795/1.94, allocations: 8.128 MB / 1.276 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00809/1.948, allocations: 1.193 MB / 1.277 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/1.974, allocations: 12.36 MB / 1.289 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00585/1.98, allocations: 4.091 MB / 1.293 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002433/1.983, allocations: 0.6708 MB / 1.294 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/1.983, allocations: 179.4 kB / 1.294 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of SimCode: time 1.012e-06/1.983, allocations: 0 / 1.294 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of Templates: time 0.5327/2.516, allocations: 111.5 MB / 1.403 GB, free: 216.9 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)