Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_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.001525/0.001525, allocations: 109.2 kB / 17.74 MB, free: 5.289 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.001665/0.001665, allocations: 184.3 kB / 18.67 MB, free: 4.371 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1724/0.1724, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2771, allocations: 58.05 MB / 0.5048 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006585/0.2837, allocations: 7.461 MB / 0.5121 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003838/0.2876, allocations: 2.982 MB / 0.515 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.2879, allocations: 29.66 kB / 0.515 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2897, allocations: 0.7798 MB / 0.5158 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.2912, allocations: 0.6858 MB / 0.5164 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.292, allocations: 372.7 kB / 0.5168 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2935, allocations: 1.328 MB / 0.5181 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009702/0.2945, allocations: 0.7492 MB / 0.5188 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008089/0.2953, allocations: 0.557 MB / 0.5194 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.2962, allocations: 0.6369 MB / 0.52 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2963, allocations: 74.34 kB / 0.5201 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008224/0.2971, allocations: 470.3 kB / 0.5205 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.2976, allocations: 459.7 kB / 0.5209 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.2981, allocations: 0.5058 MB / 0.5214 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.2996, allocations: 1.42 MB / 0.5228 GB, free: 12.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2996, allocations: 0 / 0.5228 GB, free: 12.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2996, allocations: 1.375 kB / 0.5228 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.2997, allocations: 4 kB / 0.5228 GB, free: 12.97 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.002106/0.3018, allocations: 1.264 MB / 0.5241 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3018, allocations: 12.58 kB / 0.5241 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.303, allocations: 203.2 kB / 0.5243 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.3046, allocations: 0.7248 MB / 0.525 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.3046, allocations: 59.92 kB / 0.525 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.3049, allocations: 99.64 kB / 0.5251 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.3065, allocations: 1.108 MB / 0.5262 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.3066, allocations: 10.38 kB / 0.5262 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.3066, allocations: 43.89 kB / 0.5263 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.3068, allocations: 72.16 kB / 0.5263 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.3083, allocations: 0.883 MB / 0.5272 GB, free: 10.76 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.005129/0.3134, allocations: 4.054 MB / 0.5311 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.314, allocations: 421.4 kB / 0.5315 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.3143, allocations: 270 kB / 0.5318 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.3144, allocations: 16.58 kB / 0.5318 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3144, allocations: 36.94 kB / 0.5319 GB, free: 7.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.3144, allocations: 0 / 0.5319 GB, free: 7.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.004127/0.3186, allocations: 1.977 MB / 0.5338 GB, free: 6.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3186, allocations: 94.95 kB / 0.5339 GB, free: 6.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.3193, allocations: 0.5581 MB / 0.5344 GB, free: 5.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3193, allocations: 35.92 kB / 0.5345 GB, free: 5.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.3196, allocations: 477.8 kB / 0.5349 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.3198, allocations: 186.6 kB / 0.5351 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.32, allocations: 148.1 kB / 0.5352 GB, free: 5.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3201, allocations: 383.8 kB / 0.5356 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.3206, allocations: 268.8 kB / 0.5359 GB, free: 4.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.3211, allocations: 0.5058 MB / 0.5363 GB, free: 4.129 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.003131/0.3243, allocations: 1.409 MB / 0.5377 GB, free: 3.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3243, allocations: 3.156 kB / 0.5377 GB, free: 3.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001926/0.3262, allocations: 1.092 MB / 0.5388 GB, free: 2.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3262, allocations: 8.562 kB / 0.5388 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001266/0.3275, allocations: 0.7617 MB / 0.5395 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.328, allocations: 152.1 kB / 0.5397 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.3287, allocations: 180.1 kB / 0.5399 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.3328, allocations: 4.846 MB / 0.5446 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.3333, allocations: 43.39 kB / 0.5446 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.3334, allocations: 30.12 kB / 0.5447 GB, free: 13.3 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.0004895/0.3339, allocations: 313 kB / 0.545 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.334, allocations: 79.58 kB / 0.545 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3351, allocations: 0.6455 MB / 0.5457 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3351, allocations: 0.75 kB / 0.5457 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3351, allocations: 1.406 kB / 0.5457 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.3355, allocations: 189 kB / 0.5459 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.3356, allocations: 12.84 kB / 0.5459 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.3359, allocations: 27.53 kB / 0.5459 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.336, allocations: 34.45 kB / 0.5459 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001411/0.3374, allocations: 0.8213 MB / 0.5467 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001359/0.3388, allocations: 1.156 MB / 0.5479 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003732/0.3392, allocations: 275.4 kB / 0.5481 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004707/0.3396, allocations: 407 kB / 0.5485 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Backend: time 3.41e-07/0.3396, allocations: 3.938 kB / 0.5485 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.3418, allocations: 1.05 MB / 0.5495 GB, free: 9.445 MB / 414.1 MB Notification: Performance of SimCode: time 0.002958/0.3447, allocations: 2.271 MB / 0.5518 GB, free: 7.129 MB / 414.1 MB Notification: Performance of Templates: time 0.01891/0.3637, allocations: 11.19 MB / 0.5627 GB, free: 11.99 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches