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_RLC_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00135/0.00135, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.9 MB / 0.51 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006391, allocations: 23.12 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6243, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03778/0.6621, allocations: 35.69 MB / 0.7628 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.6871, allocations: 14.52 MB / 0.777 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00443/0.6916, allocations: 147.1 kB / 0.7772 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.6952, allocations: 0.8384 MB / 0.778 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008675/0.7039, allocations: 2.111 MB / 0.78 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008025/0.712, allocations: 1.922 MB / 0.7819 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01403/0.7261, allocations: 5.686 MB / 0.7875 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03012/0.7562, allocations: 13.96 MB / 0.8011 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007836/0.7641, allocations: 3.138 MB / 0.8042 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007871/0.772, allocations: 3.302 MB / 0.8074 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.7748, allocations: 396 kB / 0.8078 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.7806, allocations: 0.7648 MB / 0.8085 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006729/0.7874, allocations: 2.728 MB / 0.8112 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00486/0.7923, allocations: 1.381 MB / 0.8125 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.8109, allocations: 11.6 MB / 0.8239 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8109, allocations: 0 / 0.8239 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.785e-06/0.811, allocations: 4 kB / 0.8239 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006264/0.8116, allocations: 0 / 0.8239 GB, free: 8.926 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02066/0.8323, allocations: 6.17 MB / 0.8299 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.8323, allocations: 12.03 kB / 0.8299 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.8431, allocations: 1.514 MB / 0.8314 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.8545, allocations: 4.097 MB / 0.8354 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/0.855, allocations: 456 kB / 0.8358 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/0.858, allocations: 0.5896 MB / 0.8364 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/0.8861, allocations: 10.6 MB / 0.8467 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/0.8865, allocations: 27.69 kB / 0.8468 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002214/0.8887, allocations: 259.9 kB / 0.847 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003096/0.8919, allocations: 0.7769 MB / 0.8478 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02066/0.9125, allocations: 8.514 MB / 0.8561 GB, free: 7.359 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08115/0.9937, allocations: 46.97 MB / 0.9019 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/1.001, allocations: 4.293 MB / 0.9061 GB, free: 340 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/1.002, allocations: 38.77 kB / 0.9062 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.954e-05/1.002, allocations: 85.23 kB / 0.9063 GB, free: 204 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.2e-06/1.002, allocations: 0 / 0.9063 GB, free: 204 kB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 1.08/2.082, allocations: 127.9 MB / 1.031 GB, free: 50.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/2.082, allocations: 111.9 kB / 1.031 GB, free: 50.53 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/2.086, allocations: 2.658 MB / 1.034 GB, free: 47.88 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/2.087, allocations: 121.7 kB / 1.034 GB, free: 47.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/2.088, allocations: 2.688 MB / 1.037 GB, free: 45.04 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/2.09, allocations: 1.947 MB / 1.038 GB, free: 43.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/2.09, allocations: 108 kB / 1.039 GB, free: 43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002252/2.091, allocations: 0.5257 MB / 1.039 GB, free: 42.47 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/2.096, allocations: 4.056 MB / 1.043 GB, free: 38.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005462/2.101, allocations: 4.976 MB / 1.048 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/2.107, allocations: 4.819 MB / 1.053 GB, free: 28.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/2.107, allocations: 8 kB / 1.053 GB, free: 28.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03611/2.143, allocations: 16.92 MB / 1.069 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/2.143, allocations: 16 kB / 1.069 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/2.143, allocations: 24 kB / 1.069 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02987/2.173, allocations: 9.053 MB / 1.078 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/2.176, allocations: 0.5252 MB / 1.079 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1155/2.291, allocations: 73.69 MB / 1.15 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/2.297, allocations: 283.8 kB / 1.151 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/2.298, allocations: 195.9 kB / 1.151 GB, free: 5.949 MB / 0.795 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00653/2.305, allocations: 2.417 MB / 1.153 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/2.307, allocations: 474.5 kB / 1.154 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04439/2.351, allocations: 16.75 MB / 1.17 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/2.352, allocations: 56 kB / 1.17 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003112/2.352, allocations: 68 kB / 1.17 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001462/2.352, allocations: 31.89 kB / 1.17 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06887/2.421, allocations: 25.62 MB / 1.195 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-05/2.421, allocations: 8 kB / 1.195 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/2.423, allocations: 324.4 kB / 1.196 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03111/2.454, allocations: 8.258 MB / 1.204 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001503/2.456, allocations: 112 kB / 1.204 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5775/3.033, allocations: 70.51 MB / 1.273 GB, free: 269.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/3.033, allocations: 18.31 kB / 1.273 GB, free: 269.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03925/3.072, allocations: 22.18 MB / 1.294 GB, free: 259.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004449/3.077, allocations: 1.356 MB / 1.296 GB, free: 258.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/3.078, allocations: 111.9 kB / 1.296 GB, free: 258.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003543/3.082, allocations: 288.2 kB / 1.296 GB, free: 258.6 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001985/3.084, allocations: 0.5164 MB / 1.297 GB, free: 258.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003771/3.084, allocations: 147.6 kB / 1.297 GB, free: 258.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002348/3.086, allocations: 1.751 MB / 1.298 GB, free: 256.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/3.086, allocations: 0 / 1.298 GB, free: 256.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.008394/3.095, allocations: 2.441 MB / 1.301 GB, free: 254.2 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007701/3.096, allocations: 245 kB / 1.301 GB, free: 254 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02321/3.119, allocations: 14.49 MB / 1.315 GB, free: 240.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/3.119, allocations: 4 kB / 1.315 GB, free: 240.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01799/3.137, allocations: 9.374 MB / 1.324 GB, free: 231 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008476/3.145, allocations: 1.188 MB / 1.325 GB, free: 229.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/3.178, allocations: 18.13 MB / 1.343 GB, free: 211.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00926/3.187, allocations: 5.021 MB / 1.348 GB, free: 206.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004069/3.191, allocations: 0.7371 MB / 1.349 GB, free: 205.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009767/3.192, allocations: 199.4 kB / 1.349 GB, free: 205.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.363e-06/3.192, allocations: 0 / 1.349 GB, free: 205.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.2014/3.394, allocations: 135.3 MB / 1.481 GB, free: 71.66 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: