Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001036/0.001036, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001108/0.001108, allocations: 167.9 kB / 24.91 MB, free: 8.695 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2356/0.2356, allocations: 29.42 MB / 291.2 MB, free: 2.477 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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.586e-05, allocations: 6.312 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004911/0.004927, allocations: 5.264 MB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.009469, allocations: 3.947 MB / 326.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.009734, allocations: 19.81 kB / 326.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005957/0.01569, allocations: 5.286 MB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.01615, allocations: 345.9 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.01659, allocations: 263.3 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.01792, allocations: 1.652 MB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.01829, allocations: 352.9 kB / 334 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.01871, allocations: 0.5065 MB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.01909, allocations: 402.8 kB / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.01914, allocations: 44 kB / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.01931, allocations: 123.8 kB / 335.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.01949, allocations: 299.2 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.01964, allocations: 219.4 kB / 335.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.02013, allocations: 0.5371 MB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.02013, allocations: 3.984 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.02013, allocations: 0 / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.02014, allocations: 0 / 336.1 MB, free: 12.64 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0009608/0.0211, allocations: 0.8122 MB / 336.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.02114, allocations: 11.98 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.02144, allocations: 108.8 kB / 337 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.022, allocations: 452.2 kB / 337.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.02203, allocations: 41.36 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.02209, allocations: 47.89 kB / 337.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.02275, allocations: 427.5 kB / 338 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.02277, allocations: 7.938 kB / 338 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.02281, allocations: 16 kB / 338 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-05/0.02291, allocations: 44.97 kB / 338 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.02319, allocations: 169.6 kB / 338.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.02518, allocations: 1.851 MB / 340.1 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.02544, allocations: 216.3 kB / 340.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.02554, allocations: 74.61 kB / 340.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.02556, allocations: 8 kB / 340.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.02559, allocations: 46.48 kB / 340.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.02559, allocations: 0 / 340.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.00116/0.02675, allocations: 0.6023 MB / 341 MB, free: 7.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.0268, allocations: 106.8 kB / 341.1 MB, free: 7.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.02706, allocations: 363.2 kB / 341.5 MB, free: 6.969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.02709, allocations: 37.7 kB / 341.5 MB, free: 6.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.02723, allocations: 273.1 kB / 341.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.02731, allocations: 122.9 kB / 341.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.02742, allocations: 86.09 kB / 342 MB, free: 6.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.02753, allocations: 362.7 kB / 342.3 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.02762, allocations: 51.8 kB / 342.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.02778, allocations: 181.2 kB / 342.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.02807, allocations: 285.4 kB / 342.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02807, allocations: 0 / 342.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006208/0.02869, allocations: 413.4 kB / 343.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.02871, allocations: 14.17 kB / 343.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02872, allocations: 7.938 kB / 343.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.02915, allocations: 179.4 kB / 343.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.02937, allocations: 71.89 kB / 343.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.03202, allocations: 2.916 MB / 346.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.03218, allocations: 8 kB / 346.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.03221, allocations: 16 kB / 346.4 MB, free: 1.633 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.03235, allocations: 140.5 kB / 346.6 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.03243, allocations: 35.97 kB / 346.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.03285, allocations: 292.7 kB / 346.9 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.03286, allocations: 4 kB / 346.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.03286, allocations: 4 kB / 346.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.03287, allocations: 0 / 346.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.0337, allocations: 0.597 MB / 347.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.03371, allocations: 7.984 kB / 347.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.03403, allocations: 83.86 kB / 347.6 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.03413, allocations: 43.34 kB / 347.6 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.03416, allocations: 8 kB / 347.6 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.03539, allocations: 2.394 MB / 350 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0354, allocations: 0 / 350 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.0359, allocations: 0.5296 MB / 350.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.03598, allocations: 59.66 kB / 350.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.03602, allocations: 11.98 kB / 350.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.03619, allocations: 8 kB / 350.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.03624, allocations: 31.95 kB / 350.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.03626, allocations: 12 kB / 350.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.03638, allocations: 144.7 kB / 350.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03638, allocations: 0 / 350.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.03683, allocations: 132 kB / 351 MB, free: 12.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.766e-05/0.03693, allocations: 93.2 kB / 351.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006457/0.03757, allocations: 0.5302 MB / 351.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.03758, allocations: 5 kB / 351.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.038, allocations: 346.6 kB / 351.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.03849, allocations: 112.2 kB / 352 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.04021, allocations: 1.124 MB / 353.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.04036, allocations: 177.7 kB / 353.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.04053, allocations: 64.33 kB / 353.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.04074, allocations: 131.3 kB / 353.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04074, allocations: 0 / 353.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Templates: time 0.01047/0.05121, allocations: 6.67 MB / 360.2 MB, free: 3.574 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.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: 2.985331393312663]