Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008849, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006514/0.006515, allocations: 170 kB / 16.26 MB, free: 6.613 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.541/1.541, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.797/1.797, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006191/0.0006193, allocations: 20.38 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2773, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03293/0.3103, allocations: 32.08 MB / 0.8192 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.3333, allocations: 14.72 MB / 0.8336 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004385/0.3377, allocations: 131.2 kB / 0.8337 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.3408, allocations: 0.7249 MB / 0.8344 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009519/0.3503, allocations: 2.686 MB / 0.837 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005888/0.3562, allocations: 1.992 MB / 0.839 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01423/0.3705, allocations: 12.2 MB / 0.8509 GB, free: 10.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01867/0.3892, allocations: 11.51 MB / 0.8621 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.3969, allocations: 2.969 MB / 0.865 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007517/0.4045, allocations: 3.507 MB / 0.8685 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.4068, allocations: 296 kB / 0.8688 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/0.4126, allocations: 1.556 MB / 0.8703 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004552/0.4172, allocations: 2.295 MB / 0.8725 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006891/0.4242, allocations: 2.788 MB / 0.8752 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.4385, allocations: 10.66 MB / 0.8856 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4385, allocations: 0 / 0.8856 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4385, allocations: 0 / 0.8856 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003614/0.4389, allocations: 0 / 0.8856 GB, free: 7.035 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01295/0.4518, allocations: 4.837 MB / 0.8904 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.4519, allocations: 8.031 kB / 0.8904 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008462/0.4604, allocations: 1.145 MB / 0.8915 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/0.4679, allocations: 3.325 MB / 0.8947 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.4682, allocations: 370.4 kB / 0.8951 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/0.47, allocations: 500 kB / 0.8956 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.4895, allocations: 8.009 MB / 0.9034 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000323/0.4899, allocations: 19.75 kB / 0.9034 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/0.4917, allocations: 224 kB / 0.9036 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.4931, allocations: 433.6 kB / 0.904 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5247/1.018, allocations: 6.079 MB / 0.91 GB, free: 106.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04669/1.065, allocations: 35.23 MB / 0.9444 GB, free: 79.46 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/1.069, allocations: 2.024 MB / 0.9464 GB, free: 78.64 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/1.072, allocations: 1.854 MB / 0.9482 GB, free: 77.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/1.072, allocations: 18.72 kB / 0.9482 GB, free: 77.83 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.126e-05/1.073, allocations: 56.78 kB / 0.9482 GB, free: 77.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 6.612e-06/1.073, allocations: 0 / 0.9482 GB, free: 77.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.146/1.219, allocations: 39.01 MB / 0.9863 GB, free: 52.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.219, allocations: 85.45 kB / 0.9864 GB, free: 52.13 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/1.223, allocations: 2.286 MB / 0.9887 GB, free: 49.83 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005482/1.223, allocations: 73.7 kB / 0.9887 GB, free: 49.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/1.224, allocations: 2.273 MB / 0.9909 GB, free: 47.46 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.225, allocations: 0.9356 MB / 0.9919 GB, free: 46.54 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006188/1.226, allocations: 235.8 kB / 0.9921 GB, free: 46.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/1.226, allocations: 305.1 kB / 0.9924 GB, free: 46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.229, allocations: 1.97 MB / 0.9943 GB, free: 44.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/1.232, allocations: 2.599 MB / 0.9968 GB, free: 41.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/1.238, allocations: 4.929 MB / 1.002 GB, free: 35.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/1.238, allocations: 4 kB / 1.002 GB, free: 35.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01441/1.252, allocations: 7.759 MB / 1.009 GB, free: 28.15 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/1.252, allocations: 12 kB / 1.009 GB, free: 28.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.252, allocations: 20 kB / 1.009 GB, free: 28.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009189/1.262, allocations: 3.213 MB / 1.012 GB, free: 24.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.264, allocations: 404.7 kB / 1.013 GB, free: 24.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04197/1.306, allocations: 31.18 MB / 1.043 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/1.309, allocations: 159.8 kB / 1.043 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007432/1.31, allocations: 108 kB / 1.043 GB, free: 8.25 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004505/1.315, allocations: 1.797 MB / 1.045 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.316, allocations: 332.2 kB / 1.046 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/1.333, allocations: 7.361 MB / 1.053 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/1.333, allocations: 28 kB / 1.053 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/1.333, allocations: 31.98 kB / 1.053 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/1.333, allocations: 11.95 kB / 1.053 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0311/1.364, allocations: 12.93 MB / 1.065 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/1.364, allocations: 4 kB / 1.065 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.365, allocations: 240.2 kB / 1.066 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009276/1.375, allocations: 2.856 MB / 1.068 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005631/1.375, allocations: 48 kB / 1.069 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04465/1.42, allocations: 29.98 MB / 1.098 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.42, allocations: 11.94 kB / 1.098 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.435, allocations: 6.882 MB / 1.105 GB, free: 8.492 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.437, allocations: 0.7861 MB / 1.105 GB, free: 7.684 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.438, allocations: 51.98 kB / 1.105 GB, free: 7.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.441, allocations: 163.8 kB / 1.105 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/1.442, allocations: 257.4 kB / 1.106 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003621/1.442, allocations: 76 kB / 1.106 GB, free: 7.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003375/1.446, allocations: 1.525 MB / 1.107 GB, free: 5.621 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/1.446, allocations: 0 / 1.107 GB, free: 5.621 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005807/1.452, allocations: 1.371 MB / 1.109 GB, free: 4.25 MB / 0.795 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005706/1.452, allocations: 175 kB / 1.109 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.465, allocations: 6.91 MB / 1.116 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.465, allocations: 4 kB / 1.116 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008368/1.473, allocations: 4.423 MB / 1.12 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008759/1.482, allocations: 1.034 MB / 1.121 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/1.507, allocations: 12.49 MB / 1.133 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006453/1.513, allocations: 3.639 MB / 1.137 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00292/1.516, allocations: 0.5595 MB / 1.137 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/1.517, allocations: 163.4 kB / 1.137 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of SimCode: time 2.454e-06/1.517, allocations: 0 / 1.137 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.131/1.648, allocations: 73.43 MB / 1.209 GB, free: 14.14 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: