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.001181/0.001181, allocations: 103.2 kB / 16.29 MB, free: 6.43 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.001189/0.001189, allocations: 184.1 kB / 17.22 MB, free: 5.934 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.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.838/1.838, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001425/0.001425, allocations: 75.91 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2404, allocations: 114.5 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.4138/0.6543, allocations: 30.65 MB / 0.814 GB, free: 31.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.6743, allocations: 13.64 MB / 0.8273 GB, free: 22.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00393/0.6783, allocations: 142.4 kB / 0.8275 GB, free: 22.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008263/0.6866, allocations: 3.195 MB / 0.8306 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.6977, allocations: 2.668 MB / 0.8332 GB, free: 18.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006985/0.7047, allocations: 2.003 MB / 0.8352 GB, free: 17.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.7176, allocations: 7.629 MB / 0.8426 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.7331, allocations: 8.284 MB / 0.8507 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00882/0.742, allocations: 3.413 MB / 0.854 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008072/0.7501, allocations: 3.375 MB / 0.8573 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002832/0.7529, allocations: 0.5954 MB / 0.8579 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007068/0.76, allocations: 1.501 MB / 0.8594 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007093/0.7672, allocations: 2.362 MB / 0.8617 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01124/0.7784, allocations: 2.885 MB / 0.8645 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.7947, allocations: 9.465 MB / 0.8737 GB, free: 13.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.7948, allocations: 0 / 0.8737 GB, free: 13.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.727e-06/0.7948, allocations: 1.156 kB / 0.8737 GB, free: 13.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003086/0.7951, allocations: 3.938 kB / 0.8737 GB, free: 13.77 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.01753/0.8126, allocations: 5.125 MB / 0.8788 GB, free: 9.914 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8127, allocations: 8.031 kB / 0.8788 GB, free: 9.906 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/0.8201, allocations: 0.998 MB / 0.8797 GB, free: 8.902 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007001/0.8272, allocations: 2.896 MB / 0.8826 GB, free: 5.926 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.8274, allocations: 322.8 kB / 0.8829 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.8289, allocations: 420 kB / 0.8833 GB, free: 5.195 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.8422, allocations: 6.791 MB / 0.8899 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.8424, allocations: 19.78 kB / 0.8899 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/0.8429, allocations: 187.9 kB / 0.8901 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008451/0.8437, allocations: 376 kB / 0.8905 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009755/0.8535, allocations: 5.11 MB / 0.8955 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03863/0.8921, allocations: 30.51 MB / 0.9252 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.8949, allocations: 1.387 MB / 0.9266 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.8974, allocations: 1.335 MB / 0.9279 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.8976, allocations: 13.31 kB / 0.9279 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/0.8977, allocations: 55.88 kB / 0.928 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.998e-06/0.8977, allocations: 0 / 0.928 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.08016/0.9779, allocations: 23.07 MB / 0.9505 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.9779, allocations: 73.41 kB / 0.9506 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003627/0.9816, allocations: 2.062 MB / 0.9526 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.9819, allocations: 61.7 kB / 0.9526 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.9834, allocations: 2.01 MB / 0.9546 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000798/0.9842, allocations: 0.6777 MB / 0.9553 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.9852, allocations: 416.1 kB / 0.9557 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9854, allocations: 309.1 kB / 0.956 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.9876, allocations: 1.427 MB / 0.9574 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.9903, allocations: 2.013 MB / 0.9593 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00511/0.9954, allocations: 3.692 MB / 0.9629 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/0.9954, allocations: 4 kB / 0.9629 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01173/1.007, allocations: 5.658 MB / 0.9685 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/1.007, allocations: 15.98 kB / 0.9685 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/1.007, allocations: 16 kB / 0.9685 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006456/1.014, allocations: 2.083 MB / 0.9705 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.015, allocations: 379.3 kB / 0.9709 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03874/1.054, allocations: 38.44 MB / 1.008 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/1.057, allocations: 127.9 kB / 1.009 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/1.057, allocations: 92 kB / 1.009 GB, free: 14.38 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.003227/1.061, allocations: 1.504 MB / 1.01 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009363/1.062, allocations: 288.6 kB / 1.01 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.072, allocations: 5.212 MB / 1.015 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/1.072, allocations: 20 kB / 1.015 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.667e-05/1.072, allocations: 20 kB / 1.015 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-05/1.072, allocations: 11.95 kB / 1.016 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/1.094, allocations: 9.676 MB / 1.025 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.094, allocations: 4 kB / 1.025 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/1.095, allocations: 219.6 kB / 1.025 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/1.101, allocations: 1.846 MB / 1.027 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/1.101, allocations: 40 kB / 1.027 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03761/1.138, allocations: 37.44 MB / 1.064 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/1.138, allocations: 11.94 kB / 1.064 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009842/1.148, allocations: 4.909 MB / 1.068 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.15, allocations: 0.6186 MB / 1.069 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/1.151, allocations: 36 kB / 1.069 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.153, allocations: 135.8 kB / 1.069 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007903/1.154, allocations: 193.5 kB / 1.069 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.154, allocations: 56 kB / 1.069 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002831/1.157, allocations: 1.378 MB / 1.071 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.157, allocations: 3.938 kB / 1.071 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004934/1.162, allocations: 1.047 MB / 1.072 GB, free: 10.65 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.0004911/1.163, allocations: 172 kB / 1.072 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.173, allocations: 6.284 MB / 1.078 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.173, allocations: 4 kB / 1.078 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006634/1.18, allocations: 4.395 MB / 1.082 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/1.184, allocations: 0.9834 MB / 1.083 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.2, allocations: 8.052 MB / 1.091 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004645/1.205, allocations: 3.125 MB / 1.094 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002016/1.207, allocations: 0.5159 MB / 1.095 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/1.208, allocations: 155.4 kB / 1.095 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/1.208, allocations: 0 / 1.095 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of Templates: time 0.4995/1.707, allocations: 59.99 MB / 1.153 GB, free: 272.2 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)