Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 110.5 kB / 17.74 MB, free: 5.332 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.001227/0.001227, allocations: 197.2 kB / 18.68 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1734/0.1734, allocations: 38.02 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2708, allocations: 58.06 MB / 0.5048 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006638/0.2774, allocations: 7.448 MB / 0.5121 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.2809, allocations: 2.982 MB / 0.515 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.2812, allocations: 28.41 kB / 0.515 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.2829, allocations: 0.7764 MB / 0.5157 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.2842, allocations: 0.6964 MB / 0.5164 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.2851, allocations: 373.1 kB / 0.5168 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.2865, allocations: 1.333 MB / 0.5181 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.2875, allocations: 0.7466 MB / 0.5188 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007847/0.2883, allocations: 0.5605 MB / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008359/0.2892, allocations: 0.6348 MB / 0.52 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2893, allocations: 73.75 kB / 0.5201 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007917/0.2901, allocations: 475.6 kB / 0.5205 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.2905, allocations: 455.9 kB / 0.5209 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.291, allocations: 0.5024 MB / 0.5214 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.2926, allocations: 1.429 MB / 0.5228 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2927, allocations: 0.7969 kB / 0.5228 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2927, allocations: 1.375 kB / 0.5228 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.2927, allocations: 0 / 0.5228 GB, free: 13.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002125/0.2948, allocations: 1.285 MB / 0.5241 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2949, allocations: 20.23 kB / 0.5241 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.2961, allocations: 211.2 kB / 0.5243 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.2974, allocations: 0.7305 MB / 0.525 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.2975, allocations: 59.06 kB / 0.5251 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.2977, allocations: 95.45 kB / 0.5252 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.2994, allocations: 1.113 MB / 0.5263 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.2995, allocations: 5.281 kB / 0.5263 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.2995, allocations: 40.58 kB / 0.5263 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.2997, allocations: 68.2 kB / 0.5264 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3012, allocations: 0.8943 MB / 0.5272 GB, free: 10.83 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.3064, allocations: 4.064 MB / 0.5312 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.307, allocations: 425.2 kB / 0.5316 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.3074, allocations: 267.2 kB / 0.5319 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.3075, allocations: 15.72 kB / 0.5319 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3075, allocations: 40.53 kB / 0.5319 GB, free: 7.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.294e-06/0.3075, allocations: 0 / 0.5319 GB, free: 7.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.004137/0.3117, allocations: 2.004 MB / 0.5339 GB, free: 6.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3117, allocations: 82.86 kB / 0.534 GB, free: 6.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.3124, allocations: 0.5703 MB / 0.5345 GB, free: 5.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.3124, allocations: 39.83 kB / 0.5345 GB, free: 5.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.3127, allocations: 482.3 kB / 0.535 GB, free: 5.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.3129, allocations: 195.4 kB / 0.5352 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.3131, allocations: 152.9 kB / 0.5353 GB, free: 5.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3133, allocations: 383.5 kB / 0.5357 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.3137, allocations: 269.2 kB / 0.536 GB, free: 4.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.3143, allocations: 0.5023 MB / 0.5365 GB, free: 4.07 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.3175, allocations: 1.405 MB / 0.5378 GB, free: 3.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3175, allocations: 2.188 kB / 0.5378 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001849/0.3194, allocations: 1.097 MB / 0.5389 GB, free: 2.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3194, allocations: 8 kB / 0.5389 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001249/0.3207, allocations: 0.7578 MB / 0.5396 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/0.3212, allocations: 161.2 kB / 0.5398 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.3218, allocations: 174.7 kB / 0.54 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.3257, allocations: 4.855 MB / 0.5447 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.3262, allocations: 42.72 kB / 0.5447 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.3263, allocations: 34.39 kB / 0.5448 GB, free: 13.23 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (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.0004201/0.3267, allocations: 315.8 kB / 0.5451 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3268, allocations: 77.78 kB / 0.5452 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.3279, allocations: 0.6439 MB / 0.5458 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3279, allocations: 5.234 kB / 0.5458 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3279, allocations: 0 / 0.5458 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3281, allocations: 182 kB / 0.546 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.3283, allocations: 16.17 kB / 0.546 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.3286, allocations: 27.41 kB / 0.546 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.3287, allocations: 27.17 kB / 0.546 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001444/0.3301, allocations: 0.8166 MB / 0.5468 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001401/0.3315, allocations: 1.169 MB / 0.548 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003653/0.3319, allocations: 275.4 kB / 0.5482 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000465/0.3324, allocations: 411 kB / 0.5486 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.3324, allocations: 0 / 0.5486 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3345, allocations: 1.044 MB / 0.5496 GB, free: 9.344 MB / 414.1 MB Notification: Performance of SimCode: time 0.002992/0.3375, allocations: 2.301 MB / 0.5519 GB, free: 6.992 MB / 414.1 MB Notification: Performance of Templates: time 0.01913/0.3567, allocations: 11.2 MB / 0.5628 GB, free: 11.84 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1)