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.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001608/0.001608, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.448/1.448, allocations: 205.1 MB / 222 MB, free: 4.996 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.74/1.74, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001324/0.001324, allocations: 61.78 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2742, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03128/0.3055, allocations: 30.39 MB / 0.8124 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.329, allocations: 13.62 MB / 0.8257 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/0.3341, allocations: 131.2 kB / 0.8258 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009804/0.3439, allocations: 2.963 MB / 0.8287 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3548, allocations: 2.476 MB / 0.8311 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006963/0.3618, allocations: 1.838 MB / 0.8329 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.3763, allocations: 10.44 MB / 0.8431 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01649/0.3928, allocations: 9.042 MB / 0.8519 GB, free: 6.816 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006921/0.3998, allocations: 2.978 MB / 0.8548 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007243/0.407, allocations: 3.426 MB / 0.8582 GB, free: 400 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003203/0.4103, allocations: 400 kB / 0.8585 GB, free: 0 / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00669/0.417, allocations: 1.533 MB / 0.86 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005413/0.4225, allocations: 2.163 MB / 0.8622 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00834/0.4308, allocations: 2.648 MB / 0.8647 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.444, allocations: 9.305 MB / 0.8738 GB, free: 312 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.4441, allocations: 0 / 0.8738 GB, free: 312 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4441, allocations: 0 / 0.8738 GB, free: 312 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000355/0.4444, allocations: 0 / 0.8738 GB, free: 312 kB / 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.01401/0.4585, allocations: 5.136 MB / 0.8788 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4585, allocations: 12.03 kB / 0.8789 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.4651, allocations: 0.9941 MB / 0.8798 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00631/0.4714, allocations: 2.9 MB / 0.8827 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.4718, allocations: 316.8 kB / 0.883 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.4735, allocations: 424 kB / 0.8834 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.4886, allocations: 6.788 MB / 0.89 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.4888, allocations: 23.77 kB / 0.89 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005543/0.4894, allocations: 184 kB / 0.8902 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008918/0.4903, allocations: 372 kB / 0.8905 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.5016, allocations: 5.118 MB / 0.8955 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5443/1.046, allocations: 30.72 MB / 0.9255 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/1.048, allocations: 1.392 MB / 0.9269 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/1.05, allocations: 1.327 MB / 0.9282 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/1.05, allocations: 17.88 kB / 0.9282 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.051, allocations: 49.64 kB / 0.9283 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.356e-06/1.051, allocations: 1.094 kB / 0.9283 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08498/1.136, allocations: 23.08 MB / 0.9508 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/1.136, allocations: 72.75 kB / 0.9509 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/1.139, allocations: 2.066 MB / 0.9529 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/1.139, allocations: 57.64 kB / 0.9529 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/1.141, allocations: 2.007 MB / 0.9549 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/1.141, allocations: 0.6836 MB / 0.9556 GB, free: 107 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007174/1.142, allocations: 410 kB / 0.956 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/1.142, allocations: 305.1 kB / 0.9562 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/1.144, allocations: 1.428 MB / 0.9576 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.146, allocations: 2.022 MB / 0.9596 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/1.15, allocations: 3.697 MB / 0.9632 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.15, allocations: 3.969 kB / 0.9632 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009951/1.16, allocations: 5.652 MB / 0.9688 GB, free: 98.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/1.161, allocations: 11.28 kB / 0.9688 GB, free: 98.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/1.161, allocations: 24.5 kB / 0.9688 GB, free: 98.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005889/1.166, allocations: 2.082 MB / 0.9708 GB, free: 97.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.168, allocations: 378.6 kB / 0.9712 GB, free: 97.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02751/1.195, allocations: 35.5 MB / 1.006 GB, free: 60.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/1.198, allocations: 131.9 kB / 1.006 GB, free: 60.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/1.199, allocations: 95.88 kB / 1.006 GB, free: 60.53 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.003005/1.202, allocations: 1.504 MB / 1.008 GB, free: 59.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000637/1.202, allocations: 280.6 kB / 1.008 GB, free: 58.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008466/1.211, allocations: 5.215 MB / 1.013 GB, free: 53.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.211, allocations: 21.78 kB / 1.013 GB, free: 53.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/1.211, allocations: 16 kB / 1.013 GB, free: 53.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.211, allocations: 7.969 kB / 1.013 GB, free: 53.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/1.226, allocations: 9.676 MB / 1.022 GB, free: 43.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.226, allocations: 4 kB / 1.022 GB, free: 43.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/1.227, allocations: 227.6 kB / 1.023 GB, free: 43.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005124/1.232, allocations: 1.838 MB / 1.024 GB, free: 41.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.232, allocations: 40 kB / 1.024 GB, free: 41.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/1.259, allocations: 34.51 MB / 1.058 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.259, allocations: 11.94 kB / 1.058 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008399/1.267, allocations: 4.91 MB / 1.063 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.269, allocations: 0.6147 MB / 1.064 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005541/1.27, allocations: 43.98 kB / 1.064 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.271, allocations: 131.8 kB / 1.064 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007868/1.272, allocations: 193.5 kB / 1.064 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.272, allocations: 56 kB / 1.064 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002105/1.274, allocations: 1.378 MB / 1.065 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.274, allocations: 3.844 kB / 1.065 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004242/1.278, allocations: 1.047 MB / 1.066 GB, free: 12 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.000388/1.279, allocations: 171.9 kB / 1.066 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.29, allocations: 6.273 MB / 1.073 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/1.29, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007524/1.297, allocations: 4.393 MB / 1.077 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/1.303, allocations: 0.912 MB / 1.078 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.32, allocations: 10.06 MB / 1.088 GB, free: 5.703 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003882/1.324, allocations: 3.128 MB / 1.091 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002469/1.326, allocations: 0.5159 MB / 1.091 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/1.327, allocations: 147.4 kB / 1.091 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of SimCode: time 2.294e-06/1.327, allocations: 0 / 1.091 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of Templates: time 0.1149/1.441, allocations: 58.23 MB / 1.148 GB, free: 8.457 MB / 0.8262 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)