Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.002344/0.002344, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.00213/0.00213, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3097/0.3097, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.898e-05/4.174e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01968/0.01972, allocations: 7.163 MB / 376.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.03519, allocations: 5.059 MB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.03631, allocations: 39.69 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01553/0.05184, allocations: 6.63 MB / 387.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.05404, allocations: 0.5709 MB / 388.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.05575, allocations: 0.5143 MB / 388.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.06041, allocations: 2.432 MB / 391.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.06226, allocations: 0.8806 MB / 392.2 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.06444, allocations: 0.8454 MB / 393 MB, free: 3.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.0658, allocations: 0.6974 MB / 393.7 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.06601, allocations: 100 kB / 393.8 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.06682, allocations: 303.5 kB / 394.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006975/0.06751, allocations: 0.526 MB / 394.6 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007269/0.06824, allocations: 411.1 kB / 395 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.07074, allocations: 1.647 MB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.07075, allocations: 0 / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07075, allocations: 3.938 kB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.07078, allocations: 0 / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003659/0.07443, allocations: 1.624 MB / 398.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.07448, allocations: 11.98 kB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.07549, allocations: 260 kB / 398.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.07756, allocations: 0.8602 MB / 399.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.07763, allocations: 62 kB / 399.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.07781, allocations: 91.97 kB / 399.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.07968, allocations: 1.002 MB / 400.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.07973, allocations: 15.88 kB / 400.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.07982, allocations: 32 kB / 400.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/0.08007, allocations: 81.95 kB / 400.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.08137, allocations: 0.5619 MB / 401.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008279/0.08965, allocations: 5.252 MB / 406.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.09054, allocations: 408.6 kB / 406.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.09101, allocations: 196.8 kB / 407.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.09107, allocations: 16.44 kB / 407.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.0917, allocations: 348.2 kB / 407.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.09171, allocations: 0 / 407.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.004318/0.09602, allocations: 1.741 MB / 409.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.09613, allocations: 107.5 kB / 409.3 MB, free: 2.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.09735, allocations: 0.8819 MB / 410.2 MB, free: 1.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/0.09742, allocations: 45.69 kB / 410.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000566/0.09798, allocations: 0.6041 MB / 410.9 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.09827, allocations: 273.9 kB / 411.1 MB, free: 432 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.09862, allocations: 224.2 kB / 411.3 MB, free: 200 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004608/0.09908, allocations: 0.6367 MB / 412 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.0995, allocations: 189.9 kB / 412.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/0.1004, allocations: 0.6361 MB / 412.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.1018, allocations: 0.8742 MB / 413.7 MB, free: 13.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1018, allocations: 0 / 413.7 MB, free: 13.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002757/0.1045, allocations: 1.135 MB / 414.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1046, allocations: 12 kB / 414.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.1046, allocations: 8 kB / 414.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.1064, allocations: 451.1 kB / 415.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.107, allocations: 167.7 kB / 415.4 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/0.1161, allocations: 5.91 MB / 421.3 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.1168, allocations: 44.05 kB / 421.4 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.1168, allocations: 43.98 kB / 421.4 MB, free: 5.484 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004747/0.1173, allocations: 268.2 kB / 421.7 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.1175, allocations: 103.4 kB / 421.8 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.1192, allocations: 0.6766 MB / 422.5 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1192, allocations: 8 kB / 422.5 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1192, allocations: 4 kB / 422.5 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1192, allocations: 3.984 kB / 422.5 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.1228, allocations: 1.67 MB / 424.2 MB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1228, allocations: 4 kB / 424.2 MB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.1235, allocations: 119.8 kB / 424.3 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.1241, allocations: 147 kB / 424.4 MB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.1241, allocations: 23.98 kB / 424.4 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/0.1294, allocations: 5.572 MB / 430 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1294, allocations: 0 / 430 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.1315, allocations: 1.054 MB / 431.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.1319, allocations: 135.3 kB / 431.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.1321, allocations: 19.98 kB / 431.2 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.1325, allocations: 27.97 kB / 431.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.1327, allocations: 56.34 kB / 431.3 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.1327, allocations: 27.92 kB / 431.3 MB, free: 11.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007593/0.1335, allocations: 0.4912 MB / 431.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1335, allocations: 0 / 431.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001158/0.1346, allocations: 279.9 kB / 432.1 MB, free: 10.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%), (2,1,100.0%), (2,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.002854/0.1375, allocations: 0.5092 MB / 432.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.1401, allocations: 1.188 MB / 433.8 MB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.1401, allocations: 4 kB / 433.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.1415, allocations: 0.8452 MB / 434.6 MB, free: 7.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.1426, allocations: 182 kB / 434.8 MB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.1467, allocations: 2.207 MB / 437 MB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.1474, allocations: 0.5215 MB / 437.6 MB, free: 4.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.148, allocations: 202.8 kB / 437.7 MB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.1482, allocations: 72.48 kB / 437.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1482, allocations: 0 / 437.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of Templates: time 0.1665/0.3147, allocations: 14.17 MB / 452 MB, free: 106.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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: 5.619688907987438]