Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 186.4 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000725/0.000725, allocations: 98.39 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2938/0.2938, allocations: 38.12 MB / 383.6 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 8 kB / 453.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 59.14 MB / 0.5006 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.008873/0.3435, allocations: 7.908 MB / 0.5083 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.3498, allocations: 4.594 MB / 0.5128 GB, free: 32.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.3509, allocations: 49.31 kB / 0.5129 GB, free: 32.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.3517, allocations: 185.8 kB / 0.513 GB, free: 32.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.354, allocations: 0.6372 MB / 0.5137 GB, free: 31.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3551, allocations: 338.2 kB / 0.514 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.3575, allocations: 2.022 MB / 0.516 GB, free: 31.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.3591, allocations: 1.421 MB / 0.5173 GB, free: 30.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008754/0.36, allocations: 457.4 kB / 0.5178 GB, free: 29.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/0.361, allocations: 0.6083 MB / 0.5184 GB, free: 29.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.3611, allocations: 37.16 kB / 0.5184 GB, free: 29.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000962/0.362, allocations: 455.5 kB / 0.5188 GB, free: 29.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.3625, allocations: 406.9 kB / 0.5192 GB, free: 29.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.363, allocations: 487.3 kB / 0.5197 GB, free: 29.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.3644, allocations: 1.354 MB / 0.521 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3644, allocations: 3 kB / 0.521 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3644, allocations: 0 / 0.521 GB, free: 28.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3644, allocations: 0 / 0.521 GB, free: 28.82 MB / 378.7 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.001915/0.3663, allocations: 1.079 MB / 0.5221 GB, free: 28.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3664, allocations: 10.09 kB / 0.5221 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.3675, allocations: 205.5 kB / 0.5223 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3687, allocations: 0.6879 MB / 0.523 GB, free: 27.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.3688, allocations: 62.66 kB / 0.523 GB, free: 27.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.369, allocations: 101.5 kB / 0.5231 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.3705, allocations: 1.11 MB / 0.5242 GB, free: 27.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3705, allocations: 4 kB / 0.5242 GB, free: 27.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.3706, allocations: 36.52 kB / 0.5242 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.3707, allocations: 69.73 kB / 0.5243 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.372, allocations: 0.8846 MB / 0.5252 GB, free: 26.73 MB / 378.7 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.004474/0.3764, allocations: 4.092 MB / 0.5292 GB, free: 24.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.377, allocations: 418 kB / 0.5296 GB, free: 23.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.3773, allocations: 266.5 kB / 0.5298 GB, free: 23.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.3774, allocations: 15.06 kB / 0.5298 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3774, allocations: 40.66 kB / 0.5299 GB, free: 23.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.3774, allocations: 0 / 0.5299 GB, free: 23.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005589/0.383, allocations: 2.814 MB / 0.5326 GB, free: 22.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3831, allocations: 87.98 kB / 0.5327 GB, free: 22.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.3837, allocations: 0.5708 MB / 0.5333 GB, free: 21.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3838, allocations: 33.7 kB / 0.5333 GB, free: 21.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.384, allocations: 462.6 kB / 0.5337 GB, free: 21.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3842, allocations: 218.3 kB / 0.5339 GB, free: 21.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3842, allocations: 15.31 kB / 0.534 GB, free: 21.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3843, allocations: 376.2 kB / 0.5343 GB, free: 20.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.3847, allocations: 314.5 kB / 0.5346 GB, free: 20.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.3853, allocations: 0.5529 MB / 0.5351 GB, free: 20.43 MB / 378.7 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.004091/0.3894, allocations: 1.75 MB / 0.5369 GB, free: 19.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3894, allocations: 3.438 kB / 0.5369 GB, free: 19.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002348/0.3917, allocations: 1.262 MB / 0.5381 GB, free: 19.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3918, allocations: 6.469 kB / 0.5381 GB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00157/0.3934, allocations: 0.9308 MB / 0.539 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.394, allocations: 211.6 kB / 0.5392 GB, free: 18.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.3946, allocations: 181.4 kB / 0.5394 GB, free: 18.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/0.3991, allocations: 6.271 MB / 0.5455 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.3998, allocations: 48.08 kB / 0.5456 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.3999, allocations: 31.75 kB / 0.5456 GB, free: 12.96 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: infBus.V = 20000.0 * infBus.v0. 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.4004, allocations: 334.3 kB / 0.5459 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/0.4005, allocations: 65.06 kB / 0.546 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.4015, allocations: 0.7547 MB / 0.5467 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4016, allocations: 5.906 kB / 0.5467 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.4016, allocations: 4 kB / 0.5467 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4016, allocations: 6.141 kB / 0.5467 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4042, allocations: 1.654 MB / 0.5483 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4043, allocations: 3.812 kB / 0.5483 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.4049, allocations: 138.3 kB / 0.5485 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4049, allocations: 6.219 kB / 0.5485 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.4049, allocations: 17.86 kB / 0.5485 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.405, allocations: 6.812 kB / 0.5485 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.405, allocations: 3.734 kB / 0.5485 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.4063, allocations: 1.014 MB / 0.5495 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.4066, allocations: 187.2 kB / 0.5497 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.4067, allocations: 17.16 kB / 0.5497 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.407, allocations: 23.22 kB / 0.5497 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.4071, allocations: 47.78 kB / 0.5498 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.4071, allocations: 19.28 kB / 0.5498 GB, free: 10.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005784/0.4077, allocations: 404.1 kB / 0.5502 GB, free: 10.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4077, allocations: 4 kB / 0.5502 GB, free: 10.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001028/0.4088, allocations: 244.7 kB / 0.5504 GB, free: 10.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (60): * Single equations (assignments): 59 * Array equations: 0 * 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.0002895/0.4091, allocations: 154.5 kB / 0.5505 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.411, allocations: 1.212 MB / 0.5517 GB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.411, allocations: 5.375 kB / 0.5517 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.4114, allocations: 281.6 kB / 0.552 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.4124, allocations: 153.7 kB / 0.5521 GB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.4158, allocations: 2.516 MB / 0.5546 GB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.4166, allocations: 1.089 MB / 0.5557 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007643/0.4174, allocations: 208.5 kB / 0.5559 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4176, allocations: 62.64 kB / 0.5559 GB, free: 7.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4176, allocations: 0 / 0.5559 GB, free: 7.238 MB / 378.7 MB Notification: Performance of Templates: time 0.01879/0.4364, allocations: 9.33 MB / 0.565 GB, free: 3.703 MB / 378.7 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)