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.001806/0.001806, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002285/0.002285, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.1799/0.1799, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.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=2500,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") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.91 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 62.48 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009478/0.3092, allocations: 7.658 MB / 0.5507 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00536/0.3145, allocations: 3.062 MB / 0.5537 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.3151, allocations: 37.34 kB / 0.5538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.3173, allocations: 0.8039 MB / 0.5545 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3192, allocations: 0.7047 MB / 0.5552 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3203, allocations: 390.1 kB / 0.5556 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.3223, allocations: 1.329 MB / 0.5569 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009236/0.3232, allocations: 0.5704 MB / 0.5575 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.3241, allocations: 0.5699 MB / 0.558 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3252, allocations: 0.6758 MB / 0.5587 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3253, allocations: 72 kB / 0.5587 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3263, allocations: 0.5536 MB / 0.5593 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004412/0.3268, allocations: 470.8 kB / 0.5597 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.3273, allocations: 0.5015 MB / 0.5602 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.3298, allocations: 1.444 MB / 0.5616 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3298, allocations: 0 / 0.5616 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3298, allocations: 0 / 0.5616 GB, free: 1.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.3299, allocations: 3.938 kB / 0.5616 GB, free: 1.578 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.002657/0.3325, allocations: 1.22 MB / 0.5628 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3326, allocations: 15.98 kB / 0.5628 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.3338, allocations: 212.1 kB / 0.563 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.3354, allocations: 0.6499 MB / 0.5637 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.3354, allocations: 62.38 kB / 0.5637 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.3357, allocations: 103.9 kB / 0.5638 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3374, allocations: 1.115 MB / 0.5649 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.3374, allocations: 3.938 kB / 0.5649 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.3375, allocations: 32 kB / 0.565 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.3376, allocations: 81.95 kB / 0.565 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.3391, allocations: 0.886 MB / 0.5659 GB, free: 13.09 MB / 414.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.005563/0.3446, allocations: 3.968 MB / 0.5698 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.3452, allocations: 320.9 kB / 0.5701 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.3456, allocations: 253.6 kB / 0.5703 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.3456, allocations: 19.92 kB / 0.5703 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3457, allocations: 38.56 kB / 0.5704 GB, free: 8.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/0.3457, allocations: 0 / 0.5704 GB, free: 8.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004099/0.3498, allocations: 1.931 MB / 0.5723 GB, free: 6.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.3498, allocations: 81.55 kB / 0.5723 GB, free: 6.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.3505, allocations: 0.5655 MB / 0.5729 GB, free: 5.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.3506, allocations: 37.7 kB / 0.5729 GB, free: 5.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.3509, allocations: 479.7 kB / 0.5734 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3511, allocations: 202.3 kB / 0.5736 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.3513, allocations: 146.6 kB / 0.5737 GB, free: 4.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3515, allocations: 382.7 kB / 0.5741 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.3519, allocations: 265.8 kB / 0.5743 GB, free: 4.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.3525, allocations: 0.5042 MB / 0.5748 GB, free: 3.508 MB / 414.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.003022/0.3555, allocations: 1.41 MB / 0.5762 GB, free: 1.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3555, allocations: 4 kB / 0.5762 GB, free: 1.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001868/0.3574, allocations: 1.025 MB / 0.5772 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3574, allocations: 11.94 kB / 0.5772 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001183/0.3586, allocations: 0.6795 MB / 0.5779 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.3591, allocations: 158.4 kB / 0.578 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.3597, allocations: 175.7 kB / 0.5782 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.3638, allocations: 4.55 MB / 0.5826 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.3643, allocations: 43.92 kB / 0.5827 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.3644, allocations: 32 kB / 0.5827 GB, free: 10.94 MB / 430.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.0004952/0.3649, allocations: 321.4 kB / 0.583 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.365, allocations: 67.52 kB / 0.5831 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.366, allocations: 0.6357 MB / 0.5837 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.366, allocations: 8 kB / 0.5837 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.366, allocations: 3.984 kB / 0.5837 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.366, allocations: 0 / 0.5837 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.3685, allocations: 1.49 MB / 0.5852 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3685, allocations: 0 / 0.5852 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.3691, allocations: 127.8 kB / 0.5853 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3691, allocations: 4 kB / 0.5853 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.3692, allocations: 20.17 kB / 0.5853 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3692, allocations: 8 kB / 0.5853 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3692, allocations: 0 / 0.5853 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.3705, allocations: 0.9625 MB / 0.5863 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.3707, allocations: 107.6 kB / 0.5864 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.3708, allocations: 20.08 kB / 0.5864 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.3711, allocations: 19.98 kB / 0.5864 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3712, allocations: 44.19 kB / 0.5865 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3712, allocations: 19.98 kB / 0.5865 GB, free: 6.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004868/0.3717, allocations: 415 kB / 0.5869 GB, free: 6.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3717, allocations: 0 / 0.5869 GB, free: 6.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008285/0.3725, allocations: 231.9 kB / 0.5871 GB, free: 6.34 MB / 430.1 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.0003096/0.3728, allocations: 131.1 kB / 0.5872 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.3745, allocations: 0.9841 MB / 0.5882 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3745, allocations: 4.438 kB / 0.5882 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.3748, allocations: 258.2 kB / 0.5884 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.3756, allocations: 149.5 kB / 0.5886 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.3788, allocations: 2.063 MB / 0.5906 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.3796, allocations: 1.075 MB / 0.5916 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.3798, allocations: 63.42 kB / 0.5917 GB, free: 1.512 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3798, allocations: 0 / 0.5917 GB, free: 1.512 MB / 430.1 MB Notification: Performance of Templates: time 0.02138/0.4012, allocations: 15.44 MB / 0.6068 GB, free: 2.082 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.137405414832756]