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.001368/0.001368, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009899/0.0009899, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 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.9856/0.9856, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1357/0.1357, allocations: 29.43 MB / 292 MB, free: 2.629 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.624e-06/1.624e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.814e-05, allocations: 5.266 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007307/0.007335, allocations: 6.531 MB / 377.4 MB, free: 25.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.01065, allocations: 2.73 MB / 380.2 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.01098, allocations: 35.75 kB / 380.2 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.01193, allocations: 0.6297 MB / 380.8 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.01306, allocations: 0.7149 MB / 381.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.01368, allocations: 386.9 kB / 381.9 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009625/0.01464, allocations: 1.345 MB / 383.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.01512, allocations: 0.5613 MB / 383.8 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.0157, allocations: 0.8027 MB / 384.6 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006233/0.01633, allocations: 0.6234 MB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.01639, allocations: 72 kB / 385.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.01684, allocations: 391.3 kB / 385.7 MB, free: 17.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.01707, allocations: 494.8 kB / 386.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.01728, allocations: 351.2 kB / 386.5 MB, free: 16.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.01797, allocations: 0.9382 MB / 387.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01798, allocations: 0 / 387.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01798, allocations: 0 / 387.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.01799, allocations: 0 / 387.5 MB, free: 15.67 MB / 314.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.001101/0.01909, allocations: 1.285 MB / 388.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.01912, allocations: 12.03 kB / 388.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/0.01976, allocations: 268.1 kB / 389 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.02032, allocations: 0.5817 MB / 389.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.02035, allocations: 62.36 kB / 389.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.02048, allocations: 96.62 kB / 389.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.02102, allocations: 0.7019 MB / 390.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.02104, allocations: 4 kB / 390.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.02108, allocations: 32 kB / 390.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.86e-05/0.02117, allocations: 69.95 kB / 390.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.02152, allocations: 325.5 kB / 390.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.02391, allocations: 3.786 MB / 394.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.02413, allocations: 185.9 kB / 394.8 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.02423, allocations: 122 kB / 395 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.02426, allocations: 8 kB / 395 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.02428, allocations: 41.39 kB / 395 MB, free: 7.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.02428, allocations: 3.938 kB / 395 MB, free: 7.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001497/0.02577, allocations: 1.026 MB / 396 MB, free: 6.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.02581, allocations: 85.61 kB / 396.1 MB, free: 6.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.02606, allocations: 0.5372 MB / 396.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.02609, allocations: 37.7 kB / 396.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.02626, allocations: 0.5335 MB / 397.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.02635, allocations: 198.3 kB / 397.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.02647, allocations: 160.2 kB / 397.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.02655, allocations: 0.5546 MB / 398.1 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.02665, allocations: 89.92 kB / 398.2 MB, free: 4.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.02684, allocations: 436.5 kB / 398.7 MB, free: 3.863 MB / 314.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.0004397/0.02728, allocations: 0.6982 MB / 399.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02728, allocations: 0 / 399.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006852/0.02796, allocations: 0.6666 MB / 400 MB, free: 2.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.02798, allocations: 8 kB / 400 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004154/0.0284, allocations: 364 kB / 400.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.02868, allocations: 139.2 kB / 400.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.02897, allocations: 159.7 kB / 400.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.03117, allocations: 5.367 MB / 406 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.03139, allocations: 27.95 kB / 406.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.03142, allocations: 24 kB / 406.1 MB, free: 11.89 MB / 330.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.0002234/0.03165, allocations: 208.3 kB / 406.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.03173, allocations: 79.56 kB / 406.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.03216, allocations: 400 kB / 406.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.03216, allocations: 4 kB / 406.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.03216, allocations: 0 / 406.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.03217, allocations: 7.984 kB / 406.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.03324, allocations: 0.9619 MB / 407.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.03325, allocations: 4.188 kB / 407.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.03355, allocations: 115.9 kB / 407.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.03355, allocations: 4 kB / 407.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.03357, allocations: 16 kB / 407.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.03358, allocations: 7.938 kB / 407.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.03358, allocations: 0 / 407.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.03411, allocations: 0.6469 MB / 408.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.03422, allocations: 87.52 kB / 408.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.03426, allocations: 24.02 kB / 408.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.0344, allocations: 12 kB / 408.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.03444, allocations: 36.38 kB / 408.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.03446, allocations: 15.98 kB / 408.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.03464, allocations: 322.7 kB / 409 MB, free: 8.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03464, allocations: 0 / 409 MB, free: 8.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004933/0.03513, allocations: 200 kB / 409.2 MB, free: 8.648 MB / 330.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.0001161/0.03525, allocations: 111.1 kB / 409.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.03598, allocations: 0.901 MB / 410.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03599, allocations: 0 / 410.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.03614, allocations: 159.4 kB / 410.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.0366, allocations: 132.4 kB / 410.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.03902, allocations: 1.663 MB / 412.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.03923, allocations: 242.8 kB / 412.4 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000284/0.03952, allocations: 93.41 kB / 412.5 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.03983, allocations: 198.1 kB / 412.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03983, allocations: 0 / 412.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of Templates: time 0.03267/0.0725, allocations: 8.294 MB / 421 MB, free: 12.86 MB / 346.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.3312282348051667]