Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.268/2.268, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 187.5 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.547/2.547, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.0009528, allocations: 94.19 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 10.69 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008465/0.2105, allocations: 6.025 MB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006109/0.2167, allocations: 2.925 MB / 0.9083 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008928/0.2176, allocations: 23.81 kB / 0.9083 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.2184, allocations: 134.9 kB / 0.9084 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.2201, allocations: 409.7 kB / 0.9088 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2215, allocations: 338.9 kB / 0.9091 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.2234, allocations: 1.345 MB / 0.9104 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.2257, allocations: 0.9601 MB / 0.9114 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.2266, allocations: 398.3 kB / 0.9117 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007562/0.2274, allocations: 490.1 kB / 0.9122 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.2275, allocations: 32 kB / 0.9122 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.2282, allocations: 191.8 kB / 0.9124 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.2285, allocations: 267.2 kB / 0.9127 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.2287, allocations: 181.2 kB / 0.9129 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2298, allocations: 0.8963 MB / 0.9137 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2299, allocations: 4 kB / 0.9137 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2299, allocations: 0 / 0.9137 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2299, allocations: 8 kB / 0.9137 GB, free: 50.86 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002299/0.2322, allocations: 1.015 MB / 0.9147 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2323, allocations: 8.031 kB / 0.9147 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.2346, allocations: 243.5 kB / 0.915 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.2359, allocations: 0.5378 MB / 0.9155 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.2359, allocations: 45.67 kB / 0.9155 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.2361, allocations: 68.36 kB / 0.9156 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.2381, allocations: 1.081 MB / 0.9167 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.2382, allocations: 4 kB / 0.9167 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.2383, allocations: 31.98 kB / 0.9167 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.2385, allocations: 85.25 kB / 0.9168 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.2403, allocations: 0.7464 MB / 0.9175 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008233/0.2485, allocations: 5.905 MB / 0.9233 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.25, allocations: 0.5515 MB / 0.9238 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.2507, allocations: 333.9 kB / 0.9241 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/0.2508, allocations: 8.422 kB / 0.9241 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2508, allocations: 39 kB / 0.9242 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.968e-06/0.2509, allocations: 3.984 kB / 0.9242 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.005846/0.2567, allocations: 1.99 MB / 0.9261 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.2568, allocations: 55.84 kB / 0.9262 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.2575, allocations: 0.5587 MB / 0.9267 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.2576, allocations: 33.7 kB / 0.9268 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2579, allocations: 414.9 kB / 0.9272 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.258, allocations: 165.6 kB / 0.9273 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.2581, allocations: 16 kB / 0.9273 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2582, allocations: 378.7 kB / 0.9277 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.2589, allocations: 273.8 kB / 0.9279 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.2596, allocations: 493 kB / 0.9284 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.2603, allocations: 342 kB / 0.9287 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.2604, allocations: 4 kB / 0.9287 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002732/0.2631, allocations: 1.082 MB / 0.9298 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2632, allocations: 8.875 kB / 0.9298 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2632, allocations: 11.94 kB / 0.9298 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.2645, allocations: 283.2 kB / 0.9301 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.2655, allocations: 127.8 kB / 0.9302 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/0.273, allocations: 6.587 MB / 0.9366 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.2741, allocations: 39.89 kB / 0.9367 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.2742, allocations: 35.98 kB / 0.9367 GB, free: 25.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004846/0.2747, allocations: 257.6 kB / 0.937 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.2748, allocations: 67.25 kB / 0.937 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.2771, allocations: 0.8846 MB / 0.9379 GB, free: 24.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.2771, allocations: 8.016 kB / 0.9379 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2771, allocations: 4 kB / 0.9379 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.2776, allocations: 192.2 kB / 0.9381 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.2777, allocations: 8 kB / 0.9381 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.2783, allocations: 27.97 kB / 0.9381 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2785, allocations: 44.36 kB / 0.9382 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003074/0.2816, allocations: 0.9632 MB / 0.9391 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001975/0.2836, allocations: 1.04 MB / 0.9401 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005382/0.2842, allocations: 263.3 kB / 0.9404 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005853/0.2848, allocations: 383.1 kB / 0.9407 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of Backend: time 2.755e-06/0.2848, allocations: 0 / 0.9407 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003241/0.288, allocations: 1.202 MB / 0.9419 GB, free: 20.42 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004026/0.2921, allocations: 2.202 MB / 0.9441 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.03051/0.3227, allocations: 12 MB / 0.9558 GB, free: 6.285 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)