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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009372/0.0009372, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9867/0.9867, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2235/0.2235, allocations: 29.42 MB / 290.9 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 369.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.57e-05, allocations: 2.312 kB / 369.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007449/0.007474, allocations: 6.593 MB / 376.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.01203, allocations: 2.762 MB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.0127, allocations: 35.69 kB / 379 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.01431, allocations: 0.6415 MB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.01601, allocations: 0.7148 MB / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.01693, allocations: 390.9 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.01857, allocations: 1.343 MB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.01933, allocations: 0.5535 MB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.0207, allocations: 0.8066 MB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.02168, allocations: 0.6156 MB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.02181, allocations: 75.94 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.02247, allocations: 399.2 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.02285, allocations: 486.8 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.02317, allocations: 359.2 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.02436, allocations: 0.9267 MB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.02436, allocations: 0 / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.02437, allocations: 3.938 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.0244, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.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.00169/0.02609, allocations: 1.305 MB / 387.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.02612, allocations: 15.98 kB / 387.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/0.0269, allocations: 264.2 kB / 387.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.02781, allocations: 0.6246 MB / 388.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.02786, allocations: 62.36 kB / 388.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.02805, allocations: 96.66 kB / 388.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.02917, allocations: 0.7568 MB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.0292, allocations: 4 kB / 389.4 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.02926, allocations: 39.98 kB / 389.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.02939, allocations: 69.95 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.03017, allocations: 399.5 kB / 389.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.03431, allocations: 3.833 MB / 393.8 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.03471, allocations: 202 kB / 394 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.03491, allocations: 130.1 kB / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.03494, allocations: 11.94 kB / 394.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.03497, allocations: 45.33 kB / 394.2 MB, free: 2.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.986e-06/0.03497, allocations: 0 / 394.2 MB, free: 2.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002773/0.03775, allocations: 1.357 MB / 395.5 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.0378, allocations: 89.59 kB / 395.6 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.03834, allocations: 0.5374 MB / 396.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.03838, allocations: 29.7 kB / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.03872, allocations: 0.5336 MB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.03887, allocations: 202.5 kB / 396.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.03906, allocations: 156.2 kB / 397.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004827/0.03954, allocations: 0.5508 MB / 397.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.03977, allocations: 109.9 kB / 397.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.04015, allocations: 460.5 kB / 398.2 MB, free: 13.76 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.0009111/0.04107, allocations: 0.7569 MB / 398.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.04107, allocations: 0 / 398.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001245/0.04232, allocations: 0.7176 MB / 399.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.04234, allocations: 14.22 kB / 399.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007064/0.04305, allocations: 412 kB / 400 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.04349, allocations: 135 kB / 400.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.04397, allocations: 175.7 kB / 400.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/0.04749, allocations: 5.451 MB / 405.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.04791, allocations: 43.86 kB / 405.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.04796, allocations: 36.09 kB / 405.9 MB, free: 5.48 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 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.0003183/0.04828, allocations: 208.3 kB / 406.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.04839, allocations: 83.56 kB / 406.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.04905, allocations: 431.8 kB / 406.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.04905, allocations: 4.141 kB / 406.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.04906, allocations: 3.984 kB / 406.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.04907, allocations: 11.98 kB / 406.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.05085, allocations: 1.133 MB / 407.7 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.05085, allocations: 4 kB / 407.7 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.05129, allocations: 128 kB / 407.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.0513, allocations: 8 kB / 407.9 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.05134, allocations: 19.94 kB / 407.9 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.05135, allocations: 7.984 kB / 407.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.05135, allocations: 4 kB / 407.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.05214, allocations: 0.6861 MB / 408.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.05232, allocations: 95.58 kB / 408.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.05239, allocations: 19.89 kB / 408.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.0526, allocations: 23.97 kB / 408.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.05266, allocations: 36.44 kB / 408.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.05269, allocations: 16 kB / 408.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002932/0.05298, allocations: 334.8 kB / 409.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05298, allocations: 4 kB / 409.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007086/0.05369, allocations: 200 kB / 409.3 MB, free: 1.926 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (55): * Single equations (assignments): 54 * 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.0001355/0.05383, allocations: 115.1 kB / 409.4 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.055, allocations: 0.9362 MB / 410.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.05501, allocations: 448 / 410.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.05529, allocations: 183.3 kB / 410.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.05592, allocations: 129.7 kB / 410.7 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.0594, allocations: 1.686 MB / 412.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.05962, allocations: 246.8 kB / 412.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.06002, allocations: 165.3 kB / 412.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.06016, allocations: 48.5 kB / 412.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.06016, allocations: 0 / 412.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of Templates: time 0.01425/0.07441, allocations: 7.925 MB / 420.7 MB, free: 6.469 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.219785046763718]