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.001332/0.001332, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.7/1.7, allocations: 251.7 MB / 0.5092 GB, free: 3.145 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.001673/0.001673, allocations: 72.47 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5978, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04389/0.6417, allocations: 41.08 MB / 0.7647 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.6705, allocations: 15.09 MB / 0.7794 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006204/0.6768, allocations: 191.1 kB / 0.7796 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.6894, allocations: 4.462 MB / 0.7839 GB, free: 36 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.7014, allocations: 2.79 MB / 0.7867 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009882/0.7113, allocations: 3.148 MB / 0.7897 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02198/0.7333, allocations: 11.34 MB / 0.8008 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02162/0.755, allocations: 12.63 MB / 0.8131 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.7656, allocations: 4.771 MB / 0.8178 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.7779, allocations: 5.382 MB / 0.8231 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00496/0.7829, allocations: 0.9531 MB / 0.824 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009916/0.7928, allocations: 2.04 MB / 0.826 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.008753/0.8016, allocations: 3.672 MB / 0.8296 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01388/0.8156, allocations: 4.291 MB / 0.8338 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03304/0.8487, allocations: 14.17 MB / 0.8476 GB, free: 14.56 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.8488, allocations: 0 / 0.8476 GB, free: 14.56 MB / 0.67 GB Notification: Performance of FrontEnd: time 7.615e-06/0.8488, allocations: 0 / 0.8476 GB, free: 14.56 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006267/0.8494, allocations: 3.938 kB / 0.8476 GB, free: 14.55 MB / 0.67 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.04657/0.896, allocations: 7.589 MB / 0.855 GB, free: 6.883 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.449e-05/0.8961, allocations: 8.031 kB / 0.855 GB, free: 6.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.91, allocations: 1.526 MB / 0.8565 GB, free: 5.34 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.9253, allocations: 4.201 MB / 0.8606 GB, free: 1.062 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009232/0.9263, allocations: 456.4 kB / 0.861 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004425/0.9307, allocations: 0.5939 MB / 0.8616 GB, free: 20 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/0.9669, allocations: 10.69 MB / 0.8721 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004308/0.9674, allocations: 35.62 kB / 0.8721 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003062/0.9705, allocations: 267.9 kB / 0.8723 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003515/0.974, allocations: 0.7768 MB / 0.8731 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/0.9996, allocations: 8.557 MB / 0.8815 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6742/1.674, allocations: 46.83 MB / 0.9272 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/1.68, allocations: 4.304 MB / 0.9314 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/1.685, allocations: 3.698 MB / 0.935 GB, free: 135.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/1.686, allocations: 41.84 kB / 0.935 GB, free: 135.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.953e-05/1.686, allocations: 77.16 kB / 0.9351 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.12e-06/1.686, allocations: 0 / 0.9351 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.5018/2.187, allocations: 122.8 MB / 1.055 GB, free: 22.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/2.188, allocations: 119.9 kB / 1.055 GB, free: 22.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/2.193, allocations: 2.677 MB / 1.058 GB, free: 20.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001744/2.195, allocations: 125.7 kB / 1.058 GB, free: 20 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/2.196, allocations: 2.677 MB / 1.061 GB, free: 17.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003171/2.2, allocations: 1.949 MB / 1.062 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004557/2.204, allocations: 0.9248 MB / 1.063 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/2.204, allocations: 309.1 kB / 1.064 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0065/2.211, allocations: 4.075 MB / 1.068 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007533/2.218, allocations: 5.023 MB / 1.072 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/2.235, allocations: 9.852 MB / 1.082 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.603e-05/2.235, allocations: 4 kB / 1.082 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05048/2.286, allocations: 17 MB / 1.099 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/2.286, allocations: 19.94 kB / 1.099 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/2.286, allocations: 23.38 kB / 1.099 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03466/2.321, allocations: 9.147 MB / 1.108 GB, free: 104 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/2.324, allocations: 0.5226 MB / 1.108 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1209/2.444, allocations: 77.02 MB / 1.183 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006283/2.451, allocations: 279.8 kB / 1.184 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/2.452, allocations: 188 kB / 1.184 GB, free: 0.5547 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005613/2.458, allocations: 2.426 MB / 1.186 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/2.459, allocations: 474.5 kB / 1.187 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03889/2.498, allocations: 16.82 MB / 1.203 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.572e-05/2.498, allocations: 52 kB / 1.203 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002116/2.499, allocations: 72 kB / 1.203 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001395/2.499, allocations: 27.89 kB / 1.203 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05982/2.559, allocations: 25.67 MB / 1.228 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-05/2.559, allocations: 4.938 kB / 1.228 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/2.561, allocations: 319.5 kB / 1.229 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5963/3.157, allocations: 8.34 MB / 1.237 GB, free: 293 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/3.159, allocations: 107.3 kB / 1.237 GB, free: 293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09/3.249, allocations: 73.88 MB / 1.309 GB, free: 250.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/3.249, allocations: 15.88 kB / 1.309 GB, free: 250.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03831/3.287, allocations: 21.58 MB / 1.33 GB, free: 228.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003694/3.291, allocations: 1.354 MB / 1.331 GB, free: 227.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/3.292, allocations: 108 kB / 1.332 GB, free: 227.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003683/3.296, allocations: 287.6 kB / 1.332 GB, free: 227.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002245/3.298, allocations: 0.5258 MB / 1.332 GB, free: 226.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/3.299, allocations: 144 kB / 1.332 GB, free: 226.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002252/3.301, allocations: 1.776 MB / 1.334 GB, free: 224.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/3.301, allocations: 0 / 1.334 GB, free: 224.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.009267/3.31, allocations: 2.445 MB / 1.337 GB, free: 222.3 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009125/3.311, allocations: 238.8 kB / 1.337 GB, free: 222.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0316/3.343, allocations: 18.68 MB / 1.355 GB, free: 203.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/3.343, allocations: 7.938 kB / 1.355 GB, free: 203.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01996/3.363, allocations: 9.347 MB / 1.364 GB, free: 193.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/3.374, allocations: 1.374 MB / 1.366 GB, free: 192.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/3.407, allocations: 15.72 MB / 1.381 GB, free: 176.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008718/3.416, allocations: 4.896 MB / 1.386 GB, free: 171.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003781/3.42, allocations: 0.741 MB / 1.386 GB, free: 170.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/3.421, allocations: 203.4 kB / 1.387 GB, free: 170.7 MB / 0.8731 GB Notification: Performance of SimCode: time 1.984e-06/3.421, allocations: 0 / 1.387 GB, free: 170.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.2191/3.64, allocations: 147.4 MB / 1.531 GB, free: 24.66 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (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)