Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 92.55 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.001187/0.001187, allocations: 184.9 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.624/1.624, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.181/0.181, 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.0005329/0.0005329, allocations: 15.28 kB / 377.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2761, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00417/0.2803, allocations: 4.678 MB / 438.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2825, allocations: 1.645 MB / 439.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.2827, allocations: 27.81 kB / 439.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.283, allocations: 51.61 kB / 439.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.2836, allocations: 231 kB / 440.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.2842, allocations: 219.6 kB / 440.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.2848, allocations: 0.8692 MB / 441.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.2856, allocations: 0.5548 MB / 441.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.2858, allocations: 203 kB / 441.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.2863, allocations: 351 kB / 442.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2863, allocations: 20 kB / 442.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.2867, allocations: 239.5 kB / 442.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.2869, allocations: 215.5 kB / 442.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2871, allocations: 256.5 kB / 443 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.2876, allocations: 0.6424 MB / 443.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2876, allocations: 0 / 443.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2876, allocations: 0 / 443.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.2876, allocations: 0 / 443.6 MB, free: 8.453 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001082/0.2887, allocations: 0.692 MB / 444.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2888, allocations: 16.03 kB / 444.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.2893, allocations: 84.22 kB / 444.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.2898, allocations: 411.2 kB / 444.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.2898, allocations: 29.38 kB / 444.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.29, allocations: 48.11 kB / 444.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.2908, allocations: 0.6726 MB / 445.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.2908, allocations: 3.938 kB / 445.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.2909, allocations: 19.98 kB / 445.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.291, allocations: 48.97 kB / 445.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.2919, allocations: 0.6752 MB / 446.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.2948, allocations: 2.524 MB / 448.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2953, allocations: 345.2 kB / 449.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.2955, allocations: 225.7 kB / 449.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.2956, allocations: 7.984 kB / 449.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2956, allocations: 42.5 kB / 449.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.944e-06/0.2956, allocations: 0 / 449.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.001729/0.2973, allocations: 1.352 MB / 450.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2974, allocations: 85.05 kB / 450.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.2976, allocations: 304.4 kB / 451.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2977, allocations: 33.7 kB / 451.2 MB, free: 496 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2978, allocations: 255.7 kB / 451.5 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.2979, allocations: 145.8 kB / 451.6 MB, free: 88 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.298, allocations: 53.69 kB / 451.7 MB, free: 28 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.2982, allocations: 346.8 kB / 452 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.2985, allocations: 201 kB / 452.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.2989, allocations: 361.2 kB / 452.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.2998, allocations: 0.6021 MB / 453.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2998, allocations: 4 kB / 453.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001017/0.3008, allocations: 0.6379 MB / 453.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.3009, allocations: 4 kB / 453.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.3009, allocations: 8 kB / 453.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.3009, allocations: 8.688 kB / 453.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.3013, allocations: 115.8 kB / 453.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.3014, allocations: 11.98 kB / 453.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3016, allocations: 27.89 kB / 454 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.3017, allocations: 20 kB / 454 MB, free: 13.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.302, allocations: 221.5 kB / 454.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3021, allocations: 35.56 kB / 454.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008586/0.303, allocations: 0.4896 MB / 454.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.303, allocations: 19.98 kB / 454.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.303, allocations: 0 / 454.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3031, allocations: 0 / 454.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3048, allocations: 1.093 MB / 455.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3048, allocations: 4.094 kB / 455.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.3051, allocations: 71.89 kB / 455.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3052, allocations: 4 kB / 455.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3052, allocations: 15.92 kB / 455.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3052, allocations: 0 / 455.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3052, allocations: 7.984 kB / 455.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3063, allocations: 0.8321 MB / 456.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.3064, allocations: 112.6 kB / 456.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.3065, allocations: 8 kB / 456.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3067, allocations: 19.97 kB / 456.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.3067, allocations: 27.86 kB / 456.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.3068, allocations: 11.98 kB / 457 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.307, allocations: 211.1 kB / 457.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.307, allocations: 7.938 kB / 457.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.3075, allocations: 112 kB / 457.3 MB, free: 10.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * 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.0002639/0.3078, allocations: 127.2 kB / 457.4 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.3085, allocations: 497.2 kB / 457.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3085, allocations: 0 / 457.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.3088, allocations: 227.8 kB / 458.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.3093, allocations: 65.56 kB / 458.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3111, allocations: 1.373 MB / 459.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.3117, allocations: 0.8743 MB / 460.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.312, allocations: 127.2 kB / 460.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3121, allocations: 35.44 kB / 460.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of SimCode: time 2.876e-06/0.3121, allocations: 0 / 460.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of Templates: time 0.007847/0.32, allocations: 3.586 MB / 464.2 MB, free: 3.184 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) Environment - environmentSimulation: