Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.807/1.807, allocations: 287.5 MB / 302.6 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 177.2 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000796/0.0007961, allocations: 89.45 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 11.38 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009001/0.2311, allocations: 10.78 MB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006641/0.2378, allocations: 5.22 MB / 0.9943 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.2387, allocations: 31.88 kB / 0.9943 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.2395, allocations: 290 kB / 0.9946 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.2407, allocations: 0.525 MB / 0.9951 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2421, allocations: 498.8 kB / 0.9956 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.2444, allocations: 2.942 MB / 0.9985 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004356/0.2488, allocations: 4.314 MB / 1.003 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.2499, allocations: 0.7707 MB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.2509, allocations: 1.086 MB / 1.005 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.2511, allocations: 104 kB / 1.005 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000768/0.2519, allocations: 327.6 kB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.2524, allocations: 0.7405 MB / 1.006 GB, free: 476 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.2526, allocations: 368.8 kB / 1.006 GB, free: 100 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.2554, allocations: 3.253 MB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2554, allocations: 0 / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2554, allocations: 0 / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.082e-05/0.2555, allocations: 0 / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003389/0.2589, allocations: 1.757 MB / 1.011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2589, allocations: 11.97 kB / 1.011 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/0.2618, allocations: 0.7557 MB / 1.012 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.2639, allocations: 1.243 MB / 1.013 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.264, allocations: 123.6 kB / 1.013 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.2643, allocations: 160.1 kB / 1.013 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/0.2688, allocations: 2.94 MB / 1.016 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.2689, allocations: 11.84 kB / 1.016 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.2691, allocations: 64 kB / 1.016 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004038/0.2695, allocations: 203 kB / 1.016 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.2734, allocations: 2.503 MB / 1.019 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.2859, allocations: 10.9 MB / 1.029 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2872, allocations: 0.9158 MB / 1.03 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.2879, allocations: 0.5112 MB / 1.031 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.2881, allocations: 97.45 kB / 1.031 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2881, allocations: 34.94 kB / 1.031 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.344e-06/0.2881, allocations: 4 kB / 1.031 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02672/0.3148, allocations: 8.975 MB / 1.04 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.3149, allocations: 85.67 kB / 1.04 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.3162, allocations: 0.9376 MB / 1.041 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.3163, allocations: 37.7 kB / 1.041 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.3168, allocations: 0.7736 MB / 1.041 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.3171, allocations: 248.5 kB / 1.042 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.3171, allocations: 20 kB / 1.042 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3173, allocations: 398.8 kB / 1.042 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.3186, allocations: 0.7989 MB / 1.043 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3201, allocations: 1.16 MB / 1.044 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.3227, allocations: 2.001 MB / 1.046 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3228, allocations: 4 kB / 1.046 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00967/0.3324, allocations: 3.775 MB / 1.05 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.3328, allocations: 431 kB / 1.05 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.3328, allocations: 12 kB / 1.05 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008699/0.3415, allocations: 2.161 MB / 1.052 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.3425, allocations: 227.6 kB / 1.052 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.3584, allocations: 10.25 MB / 1.062 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3598, allocations: 191.6 kB / 1.063 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.3599, allocations: 51.92 kB / 1.063 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.36, allocations: 4 kB / 1.063 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007618/0.3676, allocations: 3.076 MB / 1.066 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.3676, allocations: 15.98 kB / 1.066 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4133/0.7809, allocations: 1.355 MB / 1.067 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.7822, allocations: 289.2 kB / 1.067 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.7933, allocations: 6.152 MB / 1.073 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.7947, allocations: 169.4 kB / 1.073 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/0.7948, allocations: 48.91 kB / 1.073 GB, free: 80.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.7963, allocations: 0.8968 MB / 1.074 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.7964, allocations: 86.31 kB / 1.074 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009577/0.806, allocations: 3.335 MB / 1.078 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.8061, allocations: 7.75 kB / 1.078 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.8061, allocations: 5.719 kB / 1.078 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.8061, allocations: 6.469 kB / 1.078 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.8188, allocations: 5.487 MB / 1.083 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.8188, allocations: 2.594 kB / 1.083 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.8193, allocations: 105.9 kB / 1.083 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007683/0.827, allocations: 1.975 MB / 1.085 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.8271, allocations: 17.12 kB / 1.085 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.8398, allocations: 9.649 MB / 1.095 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8399, allocations: 3.969 kB / 1.095 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007513/0.8474, allocations: 3.213 MB / 1.098 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.848, allocations: 331 kB / 1.098 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.8481, allocations: 17.88 kB / 1.098 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008262/0.849, allocations: 150.7 kB / 1.098 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.8492, allocations: 67.86 kB / 1.098 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.8493, allocations: 19.22 kB / 1.098 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009244/0.8502, allocations: 0.6715 MB / 1.099 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8502, allocations: 0 / 1.099 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002431/0.8527, allocations: 0.6782 MB / 1.1 GB, free: 70.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.8529, allocations: 131.8 kB / 1.1 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007197/0.8601, allocations: 3.909 MB / 1.103 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.8601, allocations: 6.422 kB / 1.103 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.8625, allocations: 1.308 MB / 1.105 GB, free: 67.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.8642, allocations: 246.2 kB / 1.105 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.8717, allocations: 4.078 MB / 1.109 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.8732, allocations: 1.721 MB / 1.111 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001427/0.8746, allocations: 0.517 MB / 1.111 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.8748, allocations: 58.44 kB / 1.111 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.8748, allocations: 0 / 1.111 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of Templates: time 0.03568/0.9105, allocations: 29.41 MB / 1.14 GB, free: 40.47 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)