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.001306/0.001306, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009085/0.0009085, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.106/1.106, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3239/0.3239, allocations: 29.42 MB / 291.2 MB, free: 2.445 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 2.254e-06/2.254e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.234e-05, allocations: 2.312 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006902/0.006935, allocations: 6.519 MB / 376.6 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.0118, allocations: 2.738 MB / 379.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.01251, allocations: 35.75 kB / 379.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.01397, allocations: 0.622 MB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.01594, allocations: 0.711 MB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.01696, allocations: 397.8 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.01877, allocations: 1.34 MB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009329/0.01971, allocations: 0.5651 MB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.02095, allocations: 0.8027 MB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.02241, allocations: 0.6195 MB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.02256, allocations: 72 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008708/0.02343, allocations: 399.2 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.02383, allocations: 482.8 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.02417, allocations: 355.2 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.02546, allocations: 0.9344 MB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.02547, allocations: 3.938 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.02547, allocations: 0 / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.02549, allocations: 0 / 386.7 MB, free: 10.08 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.001675/0.02717, allocations: 1.293 MB / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.02722, allocations: 15.98 kB / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/0.02803, allocations: 264.2 kB / 388.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.02887, allocations: 0.5817 MB / 388.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.02891, allocations: 62.36 kB / 388.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.0291, allocations: 96.67 kB / 389 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.02993, allocations: 0.7018 MB / 389.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.02996, allocations: 4 kB / 389.7 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.03001, allocations: 32 kB / 389.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.03013, allocations: 73.95 kB / 389.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.0306, allocations: 317.5 kB / 390.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.03437, allocations: 3.793 MB / 393.9 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.03468, allocations: 185.9 kB / 394.1 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.03481, allocations: 115.3 kB / 394.2 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.03485, allocations: 12 kB / 394.2 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.03489, allocations: 41.39 kB / 394.2 MB, free: 2.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 5.44e-06/0.03489, allocations: 4 kB / 394.2 MB, free: 2.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002024/0.03692, allocations: 1.023 MB / 395.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.03697, allocations: 89.73 kB / 395.4 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.03738, allocations: 0.5294 MB / 395.9 MB, free: 460 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.03741, allocations: 33.7 kB / 395.9 MB, free: 420 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.03773, allocations: 0.5375 MB / 396.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.03785, allocations: 198.3 kB / 396.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.03801, allocations: 152.2 kB / 396.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.03821, allocations: 0.5585 MB / 397.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.03833, allocations: 85.92 kB / 397.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.03863, allocations: 440.5 kB / 397.9 MB, free: 14.27 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.0008521/0.03948, allocations: 0.6982 MB / 398.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.03949, allocations: 4 kB / 398.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009209/0.04041, allocations: 0.6588 MB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.04044, allocations: 8 kB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004692/0.0409, allocations: 364 kB / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.04126, allocations: 135.2 kB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.04159, allocations: 163.7 kB / 399.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.04463, allocations: 5.371 MB / 405.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.04501, allocations: 27.95 kB / 405.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.04505, allocations: 31.98 kB / 405.3 MB, free: 6.293 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.0003908/0.04544, allocations: 204.3 kB / 405.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.04555, allocations: 87.69 kB / 405.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.04632, allocations: 403.8 kB / 406 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.04633, allocations: 4 kB / 406 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.04633, allocations: 0 / 406 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.04634, allocations: 3.984 kB / 406 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.04762, allocations: 0.966 MB / 407 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.04762, allocations: 0 / 407 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.04794, allocations: 111.9 kB / 407.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.04794, allocations: 4 kB / 407.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.04797, allocations: 19.98 kB / 407.1 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.04798, allocations: 7.938 kB / 407.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.04798, allocations: 0 / 407.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.04855, allocations: 0.6352 MB / 407.7 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.04869, allocations: 95.56 kB / 407.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.04874, allocations: 15.98 kB / 407.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.04888, allocations: 8 kB / 407.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.04894, allocations: 40.38 kB / 407.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.04896, allocations: 12 kB / 407.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.0492, allocations: 322.7 kB / 408.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0492, allocations: 0 / 408.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000688/0.04989, allocations: 208 kB / 408.4 MB, free: 3.059 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.0001915/0.05008, allocations: 115.1 kB / 408.5 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009469/0.05103, allocations: 0.893 MB / 409.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.05103, allocations: 0 / 409.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.0512, allocations: 155.4 kB / 409.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.05177, allocations: 139.9 kB / 409.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.05449, allocations: 1.68 MB / 411.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.0547, allocations: 242.8 kB / 411.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.05495, allocations: 89.42 kB / 411.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.05522, allocations: 202.1 kB / 411.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.05522, allocations: 0 / 411.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of Templates: time 0.01417/0.0694, allocations: 8.131 MB / 420.1 MB, free: 7.391 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.5859153126366436]