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.001612/0.001612, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001997/0.001997, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.512/1.512, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.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.761/1.761, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001419/0.001419, allocations: 70.11 kB / 0.6717 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2505, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03295/0.2834, allocations: 30.39 MB / 0.8132 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.3042, allocations: 13.51 MB / 0.8264 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/0.3083, allocations: 131.2 kB / 0.8265 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008287/0.3167, allocations: 2.975 MB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008415/0.3251, allocations: 2.46 MB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.3306, allocations: 1.847 MB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01037/0.341, allocations: 7.637 MB / 0.8411 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01415/0.3552, allocations: 9.939 MB / 0.8508 GB, free: 8.715 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005776/0.3611, allocations: 3.458 MB / 0.8542 GB, free: 5.246 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005751/0.3668, allocations: 3.539 MB / 0.8576 GB, free: 1.695 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001814/0.3687, allocations: 0.5938 MB / 0.8582 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.3728, allocations: 1.49 MB / 0.8597 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003537/0.3764, allocations: 2.37 MB / 0.862 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006581/0.383, allocations: 2.882 MB / 0.8648 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009483/0.3925, allocations: 8.001 MB / 0.8726 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3926, allocations: 0 / 0.8726 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3926, allocations: 0 / 0.8726 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002958/0.3929, allocations: 0 / 0.8726 GB, free: 2.32 MB / 0.6856 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.01392/0.4068, allocations: 5.14 MB / 0.8776 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4069, allocations: 8.031 kB / 0.8776 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/0.4132, allocations: 0.9942 MB / 0.8786 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/0.4203, allocations: 2.892 MB / 0.8814 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.4206, allocations: 316.9 kB / 0.8817 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.4222, allocations: 424.1 kB / 0.8821 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.4404, allocations: 6.795 MB / 0.8888 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002657/0.4407, allocations: 19.78 kB / 0.8888 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.4423, allocations: 187.9 kB / 0.889 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.4434, allocations: 372 kB / 0.8893 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.4555, allocations: 5.114 MB / 0.8943 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4876/0.9431, allocations: 30.74 MB / 0.9243 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.9457, allocations: 1.381 MB / 0.9257 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.9477, allocations: 1.329 MB / 0.927 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.9479, allocations: 17.56 kB / 0.927 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.9479, allocations: 57.12 kB / 0.9271 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.356e-06/0.9479, allocations: 0 / 0.9271 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08504/1.033, allocations: 23.07 MB / 0.9496 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.033, allocations: 72.16 kB / 0.9496 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/1.036, allocations: 2.059 MB / 0.9517 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000378/1.037, allocations: 69.31 kB / 0.9517 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.038, allocations: 2.013 MB / 0.9537 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006785/1.038, allocations: 0.6758 MB / 0.9544 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007132/1.039, allocations: 408.5 kB / 0.9547 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/1.039, allocations: 309.1 kB / 0.955 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/1.041, allocations: 1.432 MB / 0.9564 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.043, allocations: 2.015 MB / 0.9584 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/1.047, allocations: 3.69 MB / 0.962 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.047, allocations: 5.562 kB / 0.962 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01021/1.057, allocations: 5.66 MB / 0.9675 GB, free: 98.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/1.057, allocations: 21.64 kB / 0.9676 GB, free: 98.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.057, allocations: 19.03 kB / 0.9676 GB, free: 98.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/1.063, allocations: 2.093 MB / 0.9696 GB, free: 97.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.065, allocations: 379.7 kB / 0.97 GB, free: 97.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/1.095, allocations: 38.46 MB / 1.008 GB, free: 57.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/1.097, allocations: 123.9 kB / 1.008 GB, free: 57.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/1.098, allocations: 92 kB / 1.008 GB, free: 57.69 MB / 0.7325 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.002546/1.1, allocations: 1.507 MB / 1.009 GB, free: 56.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007537/1.101, allocations: 284.6 kB / 1.009 GB, free: 55.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008692/1.11, allocations: 5.211 MB / 1.015 GB, free: 50.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/1.11, allocations: 23.94 kB / 1.015 GB, free: 50.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.545e-05/1.11, allocations: 17.41 kB / 1.015 GB, free: 50.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.11, allocations: 11.95 kB / 1.015 GB, free: 50.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.125, allocations: 9.675 MB / 1.024 GB, free: 40.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.125, allocations: 8 kB / 1.024 GB, free: 40.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/1.126, allocations: 219.7 kB / 1.024 GB, free: 40.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005062/1.131, allocations: 1.858 MB / 1.026 GB, free: 38.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.132, allocations: 36 kB / 1.026 GB, free: 38.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/1.159, allocations: 37.46 MB / 1.063 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.159, allocations: 11.94 kB / 1.063 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009642/1.168, allocations: 4.916 MB / 1.068 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/1.17, allocations: 0.607 MB / 1.068 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005926/1.171, allocations: 47.98 kB / 1.068 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.172, allocations: 127.8 kB / 1.068 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006469/1.173, allocations: 193.5 kB / 1.068 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.173, allocations: 60 kB / 1.069 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002015/1.175, allocations: 1.378 MB / 1.07 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.175, allocations: 4 kB / 1.07 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004118/1.179, allocations: 1.047 MB / 1.071 GB, free: 6.062 MB / 0.7481 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.0003578/1.18, allocations: 167 kB / 1.071 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.193, allocations: 7.218 MB / 1.078 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.193, allocations: 8.312 kB / 1.078 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00699/1.2, allocations: 4.396 MB / 1.082 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.205, allocations: 0.9863 MB / 1.083 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.221, allocations: 10.63 MB / 1.094 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004029/1.225, allocations: 3.179 MB / 1.097 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/1.226, allocations: 155.4 kB / 1.097 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 6.92e-07/1.226, allocations: 0 / 1.097 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.7729/1.999, allocations: 464.7 MB / 1.551 GB, free: 82.74 MB / 0.9512 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)