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.001379/0.001379, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001541/0.001541, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.885/1.885, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001596/0.001597, allocations: 67.91 kB / 0.6729 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2351, allocations: 114.6 MB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3816/0.6167, allocations: 30.65 MB / 0.8147 GB, free: 31.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.6401, allocations: 13.65 MB / 0.8281 GB, free: 22.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/0.6444, allocations: 142.5 kB / 0.8282 GB, free: 22 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008551/0.653, allocations: 3.191 MB / 0.8313 GB, free: 20.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009263/0.6623, allocations: 2.663 MB / 0.8339 GB, free: 18.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006295/0.6686, allocations: 2.006 MB / 0.8359 GB, free: 17.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.6803, allocations: 7.623 MB / 0.8433 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.6927, allocations: 8.287 MB / 0.8514 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007229/0.7, allocations: 3.417 MB / 0.8547 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006944/0.707, allocations: 3.377 MB / 0.858 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002621/0.7096, allocations: 0.5952 MB / 0.8586 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005815/0.7155, allocations: 1.497 MB / 0.8601 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004518/0.72, allocations: 2.373 MB / 0.8624 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007176/0.7272, allocations: 2.886 MB / 0.8652 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.7433, allocations: 9.461 MB / 0.8745 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7433, allocations: 0 / 0.8745 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7433, allocations: 1.719 kB / 0.8745 GB, free: 13.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003397/0.7437, 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.016/0.7597, allocations: 5.127 MB / 0.8795 GB, free: 9.383 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7597, allocations: 8.031 kB / 0.8795 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007249/0.767, allocations: 1.006 MB / 0.8805 GB, free: 8.363 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007805/0.7748, allocations: 3.075 MB / 0.8835 GB, free: 5.203 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/0.7751, allocations: 316.8 kB / 0.8838 GB, free: 4.891 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.7768, allocations: 427.9 kB / 0.8842 GB, free: 4.473 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.7917, allocations: 6.795 MB / 0.8908 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.7918, allocations: 19.78 kB / 0.8908 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000504/0.7923, allocations: 184 kB / 0.891 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008636/0.7932, allocations: 372 kB / 0.8914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.8032, allocations: 5.114 MB / 0.8963 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.8419, allocations: 30.51 MB / 0.9261 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.844, allocations: 1.38 MB / 0.9275 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.8457, allocations: 1.339 MB / 0.9288 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.17e-05/0.8458, allocations: 13.31 kB / 0.9288 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.8459, allocations: 55.81 kB / 0.9289 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.356e-06/0.8459, allocations: 0 / 0.9289 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.08727/0.9332, allocations: 23.07 MB / 0.9514 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.9332, allocations: 73.41 kB / 0.9515 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.9361, allocations: 2.058 MB / 0.9535 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.9365, allocations: 61.7 kB / 0.9535 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.9378, allocations: 2.018 MB / 0.9555 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.9385, allocations: 0.6739 MB / 0.9562 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007493/0.9393, allocations: 416.1 kB / 0.9565 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9394, allocations: 309.1 kB / 0.9568 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.9415, allocations: 1.43 MB / 0.9582 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.944, allocations: 2.013 MB / 0.9602 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/0.9488, allocations: 3.688 MB / 0.9638 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.9489, allocations: 4 kB / 0.9638 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01122/0.9601, allocations: 5.669 MB / 0.9693 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.9601, allocations: 15.94 kB / 0.9694 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.9602, allocations: 16 kB / 0.9694 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006915/0.9671, allocations: 2.084 MB / 0.9714 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.9689, allocations: 375.4 kB / 0.9718 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05249/1.021, allocations: 38.44 MB / 1.009 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/1.026, allocations: 123.9 kB / 1.009 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005224/1.027, allocations: 95.98 kB / 1.01 GB, free: 13.65 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.00511/1.032, allocations: 1.504 MB / 1.011 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.033, allocations: 284.6 kB / 1.011 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/1.053, allocations: 5.212 MB / 1.016 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/1.053, allocations: 20 kB / 1.016 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.084e-05/1.053, allocations: 20 kB / 1.016 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-05/1.053, allocations: 11.91 kB / 1.016 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03706/1.09, allocations: 9.677 MB / 1.026 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.23e-05/1.09, allocations: 12.12 kB / 1.026 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.092, allocations: 215.6 kB / 1.026 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/1.104, allocations: 1.846 MB / 1.028 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005221/1.105, allocations: 40 kB / 1.028 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06885/1.173, allocations: 37.44 MB / 1.064 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/1.174, allocations: 11.94 kB / 1.064 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/1.192, allocations: 4.913 MB / 1.069 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/1.195, allocations: 0.6108 MB / 1.07 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.196, allocations: 44 kB / 1.07 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/1.199, allocations: 131.8 kB / 1.07 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.2, allocations: 201.4 kB / 1.07 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/1.201, allocations: 56 kB / 1.07 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.004135/1.205, allocations: 1.378 MB / 1.072 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.72e-07/1.205, allocations: 4 kB / 1.072 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006902/1.212, allocations: 1.047 MB / 1.073 GB, free: 9.918 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.0006633/1.212, allocations: 160.1 kB / 1.073 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.223, allocations: 6.296 MB / 1.079 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.223, allocations: 4 kB / 1.079 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007046/1.23, allocations: 4.394 MB / 1.083 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/1.235, allocations: 0.9916 MB / 1.084 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.252, allocations: 8.603 MB / 1.093 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/1.257, allocations: 3.179 MB / 1.096 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/1.258, allocations: 159.4 kB / 1.096 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of SimCode: time 7.11e-07/1.258, allocations: 0 / 1.096 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of Templates: time 1.089/2.347, allocations: 464.7 MB / 1.55 GB, free: 304.6 MB / 0.9669 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)