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.0008542/0.0008543, allocations: 100.1 kB / 16.3 MB, free: 5.574 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.0009295/0.0009296, allocations: 183.1 kB / 17.2 MB, free: 5.508 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.584/1.584, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1802/0.1802, allocations: 38.03 MB / 309.7 MB, free: 6.141 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.0006873/0.0006874, allocations: 12 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2454, allocations: 56.33 MB / 432.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003848/0.2493, allocations: 4.446 MB / 437.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.2509, allocations: 1.463 MB / 438.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.2511, allocations: 23.88 kB / 438.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.2514, allocations: 95.39 kB / 438.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.2518, allocations: 219.4 kB / 439 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.2521, allocations: 167.6 kB / 439.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.2524, allocations: 287.4 kB / 439.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.2531, allocations: 0.5255 MB / 440 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.2533, allocations: 187.3 kB / 440.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.2535, allocations: 179.4 kB / 440.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.2536, allocations: 16 kB / 440.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.2537, allocations: 75.89 kB / 440.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2538, allocations: 155.6 kB / 440.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.2539, allocations: 101.5 kB / 440.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2542, allocations: 391 kB / 441.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2542, allocations: 0 / 441.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2542, allocations: 0 / 441.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2542, allocations: 0 / 441.1 MB, free: 10.5 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.0008042/0.255, allocations: 0.6327 MB / 441.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2551, allocations: 12.03 kB / 441.7 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.2556, allocations: 91.33 kB / 441.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.2561, allocations: 394 kB / 442.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2561, allocations: 21 kB / 442.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2562, allocations: 43.98 kB / 442.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.2568, allocations: 468.8 kB / 442.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2568, allocations: 4 kB / 442.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2568, allocations: 15.95 kB / 442.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.371e-05/0.2569, allocations: 24.98 kB / 442.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.2573, allocations: 335.7 kB / 443.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.2589, allocations: 1.702 MB / 444.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.2591, allocations: 149.2 kB / 445 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.2592, allocations: 4.062 kB / 445 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.2592, allocations: 38.5 kB / 445 MB, free: 6.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2592, allocations: 3.938 kB / 445 MB, free: 6.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001093/0.2603, allocations: 0.854 MB / 445.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2603, allocations: 81.05 kB / 445.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2605, allocations: 312.3 kB / 446.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2606, allocations: 25.7 kB / 446.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.2607, allocations: 251.5 kB / 446.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.2607, allocations: 63.09 kB / 446.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.2607, allocations: 12.12 kB / 446.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.2608, allocations: 342.8 kB / 446.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2609, allocations: 92.22 kB / 447 MB, free: 4.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.261, allocations: 193.2 kB / 447.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2612, allocations: 124.6 kB / 447.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2612, allocations: 4 kB / 447.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006565/0.2619, allocations: 463.9 kB / 447.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2619, allocations: 4 kB / 447.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004564/0.2623, allocations: 280.5 kB / 448.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.2628, allocations: 136.8 kB / 448.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.263, allocations: 51.92 kB / 448.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.265, allocations: 2.282 MB / 450.5 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2652, allocations: 19.98 kB / 450.5 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2652, allocations: 19.95 kB / 450.6 MB, free: 428 kB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.2654, allocations: 189.7 kB / 450.7 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.2655, allocations: 27.62 kB / 450.8 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.2659, allocations: 245.6 kB / 451 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2659, allocations: 4 kB / 451 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2659, allocations: 4 kB / 451 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2659, allocations: 4.203 kB / 451 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.267, allocations: 0.7154 MB / 451.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.267, allocations: 4 kB / 451.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.2672, allocations: 47.92 kB / 451.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.2673, allocations: 32.84 kB / 451.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2674, allocations: 4 kB / 451.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.2685, allocations: 1.497 MB / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2685, allocations: 0 / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.269, allocations: 464.1 kB / 453.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.2691, allocations: 104.8 kB / 453.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.2692, allocations: 0 / 453.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2693, allocations: 15.94 kB / 453.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.2694, allocations: 15.98 kB / 453.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2694, allocations: 8 kB / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.2696, allocations: 211.1 kB / 454.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2696, allocations: 0 / 454.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.2701, allocations: 91.98 kB / 454.2 MB, free: 12.48 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.2702, allocations: 99.19 kB / 454.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.2708, allocations: 394.3 kB / 454.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2708, allocations: 0 / 454.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.2712, allocations: 228.3 kB / 454.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2715, allocations: 61.12 kB / 455 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2729, allocations: 1.075 MB / 456 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.2733, allocations: 0.8613 MB / 456.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2735, allocations: 54.94 kB / 457 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.2736, allocations: 23.44 kB / 457 MB, free: 9.609 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2736, allocations: 0 / 457 MB, free: 9.609 MB / 334.1 MB Notification: Performance of Templates: time 0.006664/0.2802, allocations: 3.602 MB / 460.6 MB, free: 6.016 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: