Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.002227/0.002227, allocations: 197.3 kB / 18.2 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.876/2.876, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4864/0.4864, allocations: 38.02 MB / 330.1 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 68.92 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1977, allocations: 58.06 MB / 457 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.01182/0.2096, allocations: 5.054 MB / 462.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2144, allocations: 1.694 MB / 463.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.2153, allocations: 27.81 kB / 463.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.2169, allocations: 263 kB / 464 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.2184, allocations: 262.9 kB / 464.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2196, allocations: 223.6 kB / 464.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.221, allocations: 0.604 MB / 465.1 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.2218, allocations: 243.8 kB / 465.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000886/0.2227, allocations: 266.9 kB / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.2238, allocations: 394.8 kB / 466 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.2241, allocations: 36 kB / 466 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.2252, allocations: 235.6 kB / 466.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005277/0.2258, allocations: 239.4 kB / 466.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.2266, allocations: 250.7 kB / 466.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.2281, allocations: 0.4989 MB / 467.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.2282, allocations: 4 kB / 467.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.2282, allocations: 0 / 467.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.294e-05/0.2282, allocations: 0 / 467.2 MB, free: 14.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003384/0.2316, allocations: 0.766 MB / 468 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/0.2317, allocations: 23.81 kB / 468 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.2329, allocations: 92.22 kB / 468.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2339, allocations: 399.2 kB / 468.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.234, allocations: 33.36 kB / 468.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.2343, allocations: 52.11 kB / 468.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.236, allocations: 0.6953 MB / 469.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2361, allocations: 0 / 469.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.2362, allocations: 12 kB / 469.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003036/0.2365, allocations: 68.95 kB / 469.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.2382, allocations: 0.6713 MB / 470 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.2441, allocations: 2.658 MB / 472.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.245, allocations: 314.9 kB / 473 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.2455, allocations: 209.6 kB / 473.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.2456, allocations: 7.984 kB / 473.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.2457, allocations: 38.56 kB / 473.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 4.409e-06/0.2457, allocations: 0 / 473.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003747/0.2494, allocations: 1.298 MB / 474.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.2495, allocations: 81.11 kB / 474.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.2502, allocations: 287.2 kB / 474.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.2503, allocations: 33.64 kB / 474.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.2506, allocations: 255.6 kB / 475.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.2509, allocations: 134 kB / 475.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.2512, allocations: 90.16 kB / 475.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000277/0.2515, allocations: 350.7 kB / 475.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.252, allocations: 188.9 kB / 475.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.2528, allocations: 325.3 kB / 476.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.2542, allocations: 0.5623 MB / 476.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.2542, allocations: 0 / 476.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002473/0.2567, allocations: 0.6815 MB / 477.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.2568, allocations: 6.438 kB / 477.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001588/0.2584, allocations: 495.5 kB / 478 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008635/0.2593, allocations: 113.6 kB / 478.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.2599, allocations: 87.81 kB / 478.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.2652, allocations: 3.25 MB / 481.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.2659, allocations: 35.97 kB / 481.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.266, allocations: 16 kB / 481.5 MB, free: 15.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006243/0.2667, allocations: 209.7 kB / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.2669, allocations: 35.53 kB / 481.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.2684, allocations: 464.7 kB / 482.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.447e-05/0.2685, allocations: 16 kB / 482.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2685, allocations: 0 / 482.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.2685, allocations: 7.922 kB / 482.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.2715, allocations: 1.009 MB / 483.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.2716, allocations: 4 kB / 483.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.2723, allocations: 67.89 kB / 483.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/0.2724, allocations: 12 kB / 483.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.2724, allocations: 7.984 kB / 483.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.2725, allocations: 7.938 kB / 483.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.2725, allocations: 0 / 483.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2744, allocations: 0.7356 MB / 484 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.2748, allocations: 144.7 kB / 484.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.275, allocations: 15.92 kB / 484.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.2755, allocations: 19.97 kB / 484.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.2756, allocations: 15.97 kB / 484.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.2757, allocations: 15.94 kB / 484.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005235/0.2762, allocations: 203.1 kB / 484.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.2762, allocations: 4 kB / 484.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001195/0.2774, allocations: 108 kB / 484.6 MB, free: 11.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005069/0.278, allocations: 135.2 kB / 484.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.2804, allocations: 0.7875 MB / 485.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2804, allocations: 4.062 kB / 485.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.2809, allocations: 211.8 kB / 485.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.282, allocations: 78.95 kB / 485.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.2857, allocations: 1.352 MB / 487.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009864/0.2868, allocations: 0.8707 MB / 488 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.287, allocations: 35.44 kB / 488 MB, free: 8.293 MB / 366.1 MB Notification: Performance of SimCode: time 1.472e-06/0.287, allocations: 0 / 488 MB, free: 8.293 MB / 366.1 MB Notification: Performance of Templates: time 0.02223/0.3093, allocations: 6.84 MB / 494.9 MB, free: 1.449 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)