Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008942, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.001055/0.001055, allocations: 182.5 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1715/0.1715, allocations: 38.04 MB / 310.1 MB, free: 5.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004965, allocations: 12 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2691, allocations: 56.34 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004116/0.2733, allocations: 4.838 MB / 438.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.2753, allocations: 1.528 MB / 439.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2756, allocations: 23.88 kB / 439.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.2759, allocations: 83.42 kB / 440 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.2764, allocations: 235 kB / 440.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.2768, allocations: 155.7 kB / 440.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.2773, allocations: 0.8298 MB / 441.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.2781, allocations: 0.5438 MB / 441.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.2784, allocations: 210.9 kB / 441.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.2788, allocations: 279 kB / 442.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.2788, allocations: 16 kB / 442.2 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.2791, allocations: 123.8 kB / 442.3 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2792, allocations: 171.5 kB / 442.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2794, allocations: 220.6 kB / 442.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2798, allocations: 0.4943 MB / 443.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2798, allocations: 0 / 443.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2798, allocations: 0 / 443.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2798, allocations: 0 / 443.2 MB, free: 8.887 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008757/0.2807, allocations: 0.6251 MB / 443.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2807, allocations: 12.02 kB / 443.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.2813, allocations: 80.33 kB / 443.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.2818, allocations: 399.1 kB / 444.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.2818, allocations: 21.38 kB / 444.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2819, allocations: 52.09 kB / 444.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.2825, allocations: 472.8 kB / 444.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2825, allocations: 0 / 444.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.2826, allocations: 12 kB / 444.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.751e-05/0.2827, allocations: 28.98 kB / 444.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.2831, allocations: 331.7 kB / 445.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.2848, allocations: 1.718 MB / 446.9 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.285, allocations: 153.1 kB / 447.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2851, allocations: 105.7 kB / 447.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2852, allocations: 11.92 kB / 447.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2852, allocations: 34.5 kB / 447.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.624e-06/0.2852, allocations: 0 / 447.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001212/0.2864, allocations: 0.8536 MB / 448.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.2865, allocations: 85.05 kB / 448.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.2867, allocations: 308.5 kB / 448.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2867, allocations: 29.83 kB / 448.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2868, allocations: 247.5 kB / 448.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.2869, allocations: 71.08 kB / 448.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.2869, allocations: 29.72 kB / 448.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.287, allocations: 346.7 kB / 449.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.2871, allocations: 84.23 kB / 449.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.2873, allocations: 209.1 kB / 449.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.2876, allocations: 312.6 kB / 449.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2876, allocations: 4 kB / 449.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006966/0.2883, allocations: 453.7 kB / 450.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2883, allocations: 8 kB / 450.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004815/0.2888, allocations: 288.4 kB / 450.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.2892, allocations: 136.9 kB / 450.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.2894, allocations: 55.86 kB / 450.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.2919, allocations: 2.143 MB / 452.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2921, allocations: 15.98 kB / 452.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2921, allocations: 15.98 kB / 452.9 MB, free: 14.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.2924, allocations: 193.6 kB / 453.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.2924, allocations: 23.72 kB / 453.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.2929, allocations: 253.4 kB / 453.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.2929, allocations: 8 kB / 453.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.293, allocations: 0 / 453.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.293, allocations: 3.938 kB / 453.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.2942, allocations: 0.7194 MB / 454.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.2942, allocations: 4 kB / 454.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2944, allocations: 39.97 kB / 454.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.2946, allocations: 32.84 kB / 454.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.2946, allocations: 8 kB / 454.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.2958, allocations: 1.478 MB / 455.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2958, allocations: 4.031 kB / 455.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.2963, allocations: 426.4 kB / 456 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.2964, allocations: 100.7 kB / 456.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.2965, allocations: 8 kB / 456.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2966, allocations: 8.031 kB / 456.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2967, allocations: 15.92 kB / 456.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2967, allocations: 12 kB / 456.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.2969, allocations: 215 kB / 456.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2969, allocations: 0 / 456.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.2974, allocations: 88 kB / 456.5 MB, free: 10.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.2976, allocations: 103.2 kB / 456.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.2982, allocations: 401.9 kB / 457 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2983, allocations: 0 / 457 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.2986, allocations: 227.1 kB / 457.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.2992, allocations: 69.73 kB / 457.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3007, allocations: 1.09 MB / 458.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.3013, allocations: 0.8457 MB / 459.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.3015, allocations: 58.92 kB / 459.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.3016, allocations: 23.44 kB / 459.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.084e-06/0.3016, allocations: 0 / 459.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of Templates: time 0.008566/0.3102, allocations: 3.686 MB / 463 MB, free: 4.145 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) Environment - environmentSimulation: