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.001374/0.001374, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.001458/0.001458, allocations: 163.6 kB / 23.95 MB, free: 4.168 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.423/1.423, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.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.1851/0.1851, allocations: 29.43 MB / 290.1 MB, free: 3.309 MB / 270.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",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.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.296e-05, allocations: 2.281 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006899/0.006932, allocations: 5.191 MB / 435.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.01291, allocations: 3.82 MB / 439.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.01323, allocations: 23.81 kB / 439.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.02426, allocations: 5.415 MB / 445.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.02565, allocations: 357.9 kB / 445.5 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.02641, allocations: 259.4 kB / 445.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002558/0.02897, allocations: 1.664 MB / 447.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.02955, allocations: 324.3 kB / 447.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.03023, allocations: 0.5064 MB / 448.3 MB, free: 364 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1897/0.2199, allocations: 422.5 kB / 448.7 MB, free: 20.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.2201, allocations: 45.5 kB / 448.7 MB, free: 20.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.2206, allocations: 115.3 kB / 448.8 MB, free: 20.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.2209, allocations: 291.9 kB / 449.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.2212, allocations: 221.6 kB / 449.3 MB, free: 20.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.2221, allocations: 0.7525 MB / 450.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2221, allocations: 0 / 450.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2221, allocations: 4.203 kB / 450.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.2221, allocations: 3.438 kB / 450.1 MB, free: 20.71 MB / 366.1 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.001473/0.2236, allocations: 0.8412 MB / 450.9 MB, free: 20.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2236, allocations: 12.98 kB / 450.9 MB, free: 20.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.2241, allocations: 101.7 kB / 451 MB, free: 20.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/0.2251, allocations: 499.8 kB / 451.5 MB, free: 19.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2251, allocations: 34.84 kB / 451.6 MB, free: 19.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.2252, allocations: 54.03 kB / 451.6 MB, free: 19.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/0.2261, allocations: 0.6482 MB / 452.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.2262, allocations: 2.094 kB / 452.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.2262, allocations: 19.97 kB / 452.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.2264, allocations: 50.05 kB / 452.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.2271, allocations: 493 kB / 452.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.23, allocations: 2.26 MB / 455.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.2305, allocations: 292.1 kB / 455.4 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.2307, allocations: 163.7 kB / 455.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2307, allocations: 10.56 kB / 455.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2308, allocations: 38.67 kB / 455.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.2308, allocations: 0 / 455.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.00228/0.233, allocations: 1.273 MB / 456.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2331, allocations: 116.5 kB / 457 MB, free: 17.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.2335, allocations: 400.6 kB / 457.4 MB, free: 17.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2335, allocations: 33.95 kB / 457.4 MB, free: 17.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2337, allocations: 316.4 kB / 457.7 MB, free: 17.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2337, allocations: 127.8 kB / 457.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2339, allocations: 90.73 kB / 457.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.234, allocations: 356.4 kB / 458.3 MB, free: 17.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.2342, allocations: 165.9 kB / 458.4 MB, free: 17.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.2345, allocations: 313.5 kB / 458.7 MB, free: 17.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.2351, allocations: 491.5 kB / 459.2 MB, free: 16.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2351, allocations: 1.25 kB / 459.2 MB, free: 16.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001321/0.2365, allocations: 0.7189 MB / 459.9 MB, free: 16.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2365, allocations: 7.516 kB / 459.9 MB, free: 16.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2365, allocations: 4.094 kB / 459.9 MB, free: 16.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.2372, allocations: 204.9 kB / 460.1 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.2375, allocations: 77.02 kB / 460.2 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.2416, allocations: 3.949 MB / 464.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.242, allocations: 19.22 kB / 464.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.242, allocations: 16.92 kB / 464.2 MB, free: 13.54 MB / 366.1 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.0003665/0.2424, allocations: 226.6 kB / 464.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.2425, allocations: 45.91 kB / 464.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/0.2435, allocations: 0.4895 MB / 464.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2435, allocations: 4.859 kB / 465 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2435, allocations: 2.562 kB / 465 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2435, allocations: 2.156 kB / 465 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.2454, allocations: 0.904 MB / 465.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2454, allocations: 1.656 kB / 465.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.2459, allocations: 75.72 kB / 465.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.2461, allocations: 51.2 kB / 466 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.2462, allocations: 19.06 kB / 466 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.2479, allocations: 2.577 MB / 468.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2479, allocations: 1.375 kB / 468.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.2491, allocations: 0.8061 MB / 469.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.2492, allocations: 68.23 kB / 469.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.2493, allocations: 9.984 kB / 469.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.2495, allocations: 11.8 kB / 469.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.2496, allocations: 31.98 kB / 469.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.2496, allocations: 13.27 kB / 469.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.2499, allocations: 270.9 kB / 469.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2499, allocations: 0 / 469.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007089/0.2507, allocations: 136.3 kB / 469.9 MB, free: 9.496 MB / 366.1 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 0.0001293/0.2508, allocations: 107.8 kB / 470 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.2523, allocations: 0.72 MB / 470.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2523, allocations: 0 / 470.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.2529, allocations: 411.2 kB / 471.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.2537, allocations: 111 kB / 471.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.2558, allocations: 1.31 MB / 472.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.2561, allocations: 347.2 kB / 472.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002829/0.2564, allocations: 100.6 kB / 473 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2565, allocations: 37.64 kB / 473 MB, free: 7.816 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2565, allocations: 0 / 473 MB, free: 7.816 MB / 366.1 MB Notification: Performance of Templates: time 0.01259/0.2691, allocations: 6.269 MB / 479.3 MB, free: 6.062 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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: 4.84303192794323]