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.64/1.64, allocations: 287.4 MB / 303.2 MB, free: 8.34 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.001104/0.001104, allocations: 190.7 kB / 371.8 MB, free: 10.8 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.788/1.788, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0009406/0.0009409, allocations: 96.52 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 19.12 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01036/0.2402, allocations: 10.78 MB / 0.9898 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00739/0.2476, allocations: 5.228 MB / 0.9949 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2487, allocations: 31.88 kB / 0.9949 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.2498, allocations: 290 kB / 0.9952 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.2512, allocations: 0.5328 MB / 0.9957 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.2527, allocations: 490.7 kB / 0.9962 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002464/0.2552, allocations: 2.942 MB / 0.9991 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.26, allocations: 4.305 MB / 1.003 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.2613, allocations: 0.7707 MB / 1.004 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.2635, allocations: 1.09 MB / 1.005 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006749/0.2642, allocations: 104 kB / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2659, allocations: 319.6 kB / 1.006 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.2673, allocations: 0.7366 MB / 1.006 GB, free: 448 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.2685, allocations: 376.7 kB / 1.007 GB, free: 64 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.2728, allocations: 3.258 MB / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2728, allocations: 0 / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2728, allocations: 4 kB / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001267/0.273, allocations: 0 / 1.01 GB, free: 12.79 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.004775/0.2777, allocations: 1.753 MB / 1.011 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2778, allocations: 8.031 kB / 1.011 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/0.2809, allocations: 0.7518 MB / 1.012 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.2831, allocations: 1.251 MB / 1.013 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.2832, allocations: 123.6 kB / 1.014 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.2835, allocations: 160.1 kB / 1.014 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.2879, allocations: 2.936 MB / 1.017 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.288, allocations: 11.84 kB / 1.017 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.2882, allocations: 71.98 kB / 1.017 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003849/0.2886, allocations: 203 kB / 1.017 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/0.2923, allocations: 2.503 MB / 1.019 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.3046, allocations: 10.9 MB / 1.03 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.3059, allocations: 0.9198 MB / 1.031 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.3067, allocations: 0.5036 MB / 1.031 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3068, allocations: 97.47 kB / 1.031 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3068, allocations: 34.94 kB / 1.031 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.567e-06/0.3068, allocations: 0 / 1.031 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02761/0.3345, allocations: 8.979 MB / 1.04 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.3346, allocations: 85.67 kB / 1.04 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3362, allocations: 0.9376 MB / 1.041 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.3364, allocations: 41.7 kB / 1.041 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.337, allocations: 0.7697 MB / 1.042 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.3372, allocations: 248.5 kB / 1.042 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.3373, allocations: 24 kB / 1.042 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.3375, allocations: 394.8 kB / 1.043 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3388, allocations: 0.7989 MB / 1.043 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3402, allocations: 1.156 MB / 1.045 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.3428, allocations: 2.001 MB / 1.047 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3428, allocations: 0 / 1.047 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009523/0.3523, allocations: 3.791 MB / 1.05 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003376/0.3527, allocations: 419 kB / 1.051 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-05/0.3528, allocations: 11.94 kB / 1.051 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008418/0.3612, allocations: 2.165 MB / 1.053 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3623, allocations: 227.6 kB / 1.053 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/0.3803, allocations: 10.25 MB / 1.063 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.382, allocations: 191.6 kB / 1.063 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.3822, allocations: 51.98 kB / 1.063 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3822, allocations: 7.938 kB / 1.063 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007967/0.3902, allocations: 3.076 MB / 1.066 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-05/0.3903, allocations: 12 kB / 1.066 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5083/0.8986, allocations: 1.353 MB / 1.068 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9, allocations: 290.9 kB / 1.068 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.912, allocations: 6.156 MB / 1.074 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.9135, allocations: 167.9 kB / 1.074 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.9136, allocations: 46.14 kB / 1.074 GB, free: 80.76 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.001634/0.9153, allocations: 0.9022 MB / 1.075 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.9155, allocations: 88.97 kB / 1.075 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00989/0.9254, allocations: 3.323 MB / 1.078 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.789e-05/0.9254, allocations: 4.188 kB / 1.078 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9255, allocations: 4.453 kB / 1.078 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.9262, allocations: 335.5 kB / 1.079 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.9264, allocations: 11.3 kB / 1.079 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/0.9273, allocations: 158.8 kB / 1.079 GB, free: 79.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.9276, allocations: 76.66 kB / 1.079 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007489/0.9351, allocations: 3.054 MB / 1.082 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003704/0.9389, allocations: 2.484 MB / 1.084 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00122/0.9401, allocations: 0.7889 MB / 1.085 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001161/0.9413, allocations: 0.6711 MB / 1.086 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of Backend: time 7.62e-07/0.9413, allocations: 0 / 1.086 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008151/0.9494, allocations: 3.489 MB / 1.089 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005828/0.9553, allocations: 4.276 MB / 1.093 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.04823/1.004, allocations: 32.56 MB / 1.125 GB, free: 56.88 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)