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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.823/1.823, allocations: 287.4 MB / 303.2 MB, free: 8.133 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.001011/0.001011, allocations: 178.4 kB / 371.8 MB, free: 10.81 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.694/1.694, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0009169/0.000917, allocations: 80.75 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 15.86 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.009122/0.2438, allocations: 10.67 MB / 0.9897 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006311/0.2502, allocations: 5.013 MB / 0.9946 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008404/0.2511, allocations: 31.88 kB / 0.9946 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.2519, allocations: 286.1 kB / 0.9949 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.253, allocations: 0.5094 MB / 0.9954 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2542, allocations: 475.9 kB / 0.9959 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.2564, allocations: 2.805 MB / 0.9986 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004303/0.2607, allocations: 4.061 MB / 1.003 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2618, allocations: 0.7278 MB / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.2628, allocations: 1.001 MB / 1.004 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.263, allocations: 95.94 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008704/0.2639, allocations: 303.7 kB / 1.005 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.2644, allocations: 0.721 MB / 1.005 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.2646, allocations: 348.9 kB / 1.006 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.2669, allocations: 3.008 MB / 1.009 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.267, allocations: 4 kB / 1.009 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.267, allocations: 0 / 1.009 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.823e-05/0.267, allocations: 4 kB / 1.009 GB, free: 13.98 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002903/0.2699, allocations: 1.622 MB / 1.01 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.27, allocations: 12.03 kB / 1.01 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.2721, allocations: 478.5 kB / 1.011 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.274, allocations: 1.155 MB / 1.012 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.2741, allocations: 111.5 kB / 1.012 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.2743, allocations: 164 kB / 1.012 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003998/0.2783, allocations: 2.727 MB / 1.015 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.2784, allocations: 4 kB / 1.015 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.2786, allocations: 63.98 kB / 1.015 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003233/0.2789, allocations: 178.9 kB / 1.015 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.2823, allocations: 2.288 MB / 1.017 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.294, allocations: 10.52 MB / 1.027 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2951, allocations: 0.588 MB / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.2957, allocations: 380.6 kB / 1.028 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.2958, allocations: 97.08 kB / 1.029 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2959, allocations: 38.5 kB / 1.029 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.026e-06/0.2959, allocations: 4 kB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01945/0.3153, allocations: 6.272 MB / 1.035 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.3154, allocations: 85.55 kB / 1.035 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3167, allocations: 0.8983 MB / 1.036 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.3168, allocations: 33.7 kB / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.3173, allocations: 0.7538 MB / 1.036 GB, free: 340 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.3175, allocations: 181.5 kB / 1.037 GB, free: 156 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.3175, allocations: 16 kB / 1.037 GB, free: 140 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3177, allocations: 390.8 kB / 1.037 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.3187, allocations: 0.6382 MB / 1.038 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.3199, allocations: 1.011 MB / 1.039 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.322, allocations: 1.662 MB / 1.04 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.322, allocations: 4 kB / 1.04 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008515/0.3305, allocations: 3.209 MB / 1.043 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.3309, allocations: 445.3 kB / 1.044 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.3309, allocations: 8 kB / 1.044 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007433/0.3383, allocations: 1.856 MB / 1.046 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.3393, allocations: 223.6 kB / 1.046 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.3533, allocations: 10.22 MB / 1.056 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.3548, allocations: 179.7 kB / 1.056 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.3549, allocations: 40 kB / 1.056 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.3549, allocations: 4 kB / 1.056 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006847/0.3618, allocations: 2.618 MB / 1.059 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.854e-05/0.3618, allocations: 16.03 kB / 1.059 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004926/0.3668, allocations: 1.203 MB / 1.06 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3678, allocations: 255.5 kB / 1.06 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.3752, allocations: 5.547 MB / 1.065 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.3765, allocations: 151.8 kB / 1.066 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.3766, allocations: 44 kB / 1.066 GB, free: 1.098 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00137/0.378, allocations: 0.8401 MB / 1.066 GB, free: 252 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.3782, allocations: 83 kB / 1.066 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5508/0.9289, allocations: 2.676 MB / 1.069 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.929, allocations: 4.203 kB / 1.069 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.929, allocations: 1.25 kB / 1.069 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.9296, allocations: 281.9 kB / 1.069 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.9298, allocations: 12.19 kB / 1.069 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.9306, allocations: 133.3 kB / 1.069 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.9308, allocations: 47.75 kB / 1.07 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005959/0.9368, allocations: 2.249 MB / 1.072 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002929/0.9398, allocations: 1.873 MB / 1.074 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009201/0.9407, allocations: 0.5638 MB / 1.074 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001115/0.9418, allocations: 0.6431 MB / 1.075 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of Backend: time 6.31e-07/0.9418, allocations: 3.375 kB / 1.075 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00599/0.9478, allocations: 2.949 MB / 1.078 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005647/0.9535, allocations: 3.836 MB / 1.081 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.04842/1.002, allocations: 26.77 MB / 1.108 GB, free: 69.89 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)