Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 103.2 kB / 16.36 MB, free: 6 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.001273/0.001273, allocations: 199.6 kB / 17.3 MB, free: 5.602 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.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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.001746/0.001746, allocations: 67.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2508, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.4054/0.6562, allocations: 30.65 MB / 0.8147 GB, free: 31.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02123/0.6775, allocations: 13.64 MB / 0.828 GB, free: 22.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.6815, allocations: 144.1 kB / 0.8282 GB, free: 22.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00821/0.6897, allocations: 3.199 MB / 0.8313 GB, free: 20.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009992/0.6998, allocations: 2.66 MB / 0.8339 GB, free: 18.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007199/0.707, allocations: 2.008 MB / 0.8359 GB, free: 17.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01402/0.721, allocations: 7.624 MB / 0.8433 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.7334, allocations: 8.287 MB / 0.8514 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00868/0.7421, allocations: 3.413 MB / 0.8547 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008208/0.7504, allocations: 3.384 MB / 0.858 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002526/0.7529, allocations: 0.5955 MB / 0.8586 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.7581, allocations: 1.49 MB / 0.8601 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.7617, allocations: 2.375 MB / 0.8624 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005945/0.7676, allocations: 2.885 MB / 0.8652 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.782, allocations: 9.46 MB / 0.8745 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.7821, allocations: 1.062 kB / 0.8745 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7821, allocations: 3.938 kB / 0.8745 GB, free: 13.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004169/0.7825, allocations: 0 / 0.8745 GB, free: 13.44 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01534/0.7979, allocations: 5.128 MB / 0.8795 GB, free: 9.523 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7979, allocations: 8.031 kB / 0.8795 GB, free: 9.516 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/0.8044, allocations: 0.998 MB / 0.8804 GB, free: 8.512 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008135/0.8126, allocations: 2.9 MB / 0.8833 GB, free: 5.527 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.8129, allocations: 309.4 kB / 0.8836 GB, free: 5.223 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.814, allocations: 428 kB / 0.884 GB, free: 4.805 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/0.8282, allocations: 6.791 MB / 0.8906 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.8284, allocations: 19.78 kB / 0.8906 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000511/0.8289, allocations: 184 kB / 0.8908 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008718/0.8298, allocations: 372 kB / 0.8912 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009552/0.8393, allocations: 5.115 MB / 0.8962 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.8754, allocations: 30.52 MB / 0.926 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.8775, allocations: 1.383 MB / 0.9273 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.8792, allocations: 1.332 MB / 0.9286 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.8793, allocations: 17.31 kB / 0.9286 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.8793, allocations: 51.88 kB / 0.9287 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 5.771e-06/0.8793, allocations: 0.6562 kB / 0.9287 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.08078/0.9601, allocations: 23.07 MB / 0.9512 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.9602, allocations: 69.41 kB / 0.9513 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.9631, allocations: 2.058 MB / 0.9533 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.9634, allocations: 57.7 kB / 0.9533 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.9646, allocations: 2.014 MB / 0.9553 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005986/0.9652, allocations: 0.6739 MB / 0.956 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/0.966, allocations: 416.7 kB / 0.9564 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.9661, allocations: 305.1 kB / 0.9567 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.9683, allocations: 1.43 MB / 0.9581 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.971, allocations: 2.017 MB / 0.96 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/0.9759, allocations: 3.692 MB / 0.9636 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.9759, allocations: 4 kB / 0.9636 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01095/0.9868, allocations: 5.663 MB / 0.9692 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.9869, allocations: 16.12 kB / 0.9692 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.9869, allocations: 20 kB / 0.9692 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006707/0.9937, allocations: 2.091 MB / 0.9712 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.9953, allocations: 379.3 kB / 0.9716 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03985/1.035, allocations: 38.42 MB / 1.009 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.038, allocations: 131.9 kB / 1.009 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.038, allocations: 88 kB / 1.009 GB, free: 14 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002867/1.041, allocations: 1.508 MB / 1.011 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005901/1.042, allocations: 284.6 kB / 1.011 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/1.052, allocations: 5.212 MB / 1.016 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.052, allocations: 20 kB / 1.016 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-05/1.052, allocations: 16 kB / 1.016 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/1.052, allocations: 7.969 kB / 1.016 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.071, allocations: 9.68 MB / 1.026 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/1.071, allocations: 11.94 kB / 1.026 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009045/1.072, allocations: 220.5 kB / 1.026 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006031/1.078, allocations: 1.841 MB / 1.028 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.078, allocations: 40 kB / 1.028 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04065/1.119, allocations: 37.43 MB / 1.064 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.119, allocations: 11.94 kB / 1.064 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/1.129, allocations: 4.917 MB / 1.069 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/1.131, allocations: 0.6148 MB / 1.07 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009433/1.132, allocations: 43.98 kB / 1.07 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.134, allocations: 127.8 kB / 1.07 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007749/1.135, allocations: 193.6 kB / 1.07 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.135, allocations: 52 kB / 1.07 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002476/1.138, allocations: 1.386 MB / 1.071 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 0 / 1.071 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004644/1.142, allocations: 1.047 MB / 1.072 GB, free: 10.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/1.143, allocations: 172 kB / 1.073 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.153, allocations: 6.295 MB / 1.079 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/1.153, allocations: 0.875 kB / 1.079 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006878/1.16, allocations: 4.398 MB / 1.083 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005662/1.166, allocations: 0.9938 MB / 1.084 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.184, allocations: 8.043 MB / 1.092 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005427/1.189, allocations: 3.121 MB / 1.095 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002352/1.192, allocations: 0.5198 MB / 1.095 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/1.192, allocations: 143.4 kB / 1.096 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of SimCode: time 1.232e-06/1.192, allocations: 0 / 1.096 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of Templates: time 0.5325/1.725, allocations: 57.73 MB / 1.152 GB, free: 252.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)