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.001133/0.001133, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001084/0.001084, allocations: 161 kB / 24.56 MB, free: 16 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.046/1.046, allocations: 177.1 MB / 205 MB, free: 5.629 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.2611/0.2611, allocations: 29.42 MB / 290.9 MB, free: 2.496 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.[0-9,]+.|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.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.067e-06/4.067e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.714e-05/5.121e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01089/0.01094, allocations: 6.757 MB / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00981/0.02075, allocations: 5.078 MB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.02195, allocations: 39.69 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.014/0.03595, allocations: 6.436 MB / 388 MB, free: 8.621 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.03839, allocations: 0.5748 MB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.0404, allocations: 0.5143 MB / 389 MB, free: 7.527 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00519/0.04559, allocations: 2.436 MB / 391.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.04785, allocations: 0.8885 MB / 392.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.05011, allocations: 0.8261 MB / 393.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.05166, allocations: 0.7013 MB / 393.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004271/0.05209, allocations: 104 kB / 394 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009763/0.05306, allocations: 307.5 kB / 394.3 MB, free: 2.254 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006737/0.05374, allocations: 0.5221 MB / 394.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009607/0.0547, allocations: 411.1 kB / 395.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.05722, allocations: 1.113 MB / 396.3 MB, free: 216 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.05723, allocations: 4 kB / 396.3 MB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05724, allocations: 0 / 396.3 MB, free: 212 kB / 362.7 MB Notification: Performance of Transformations before backend: time 6.149e-05/0.0573, allocations: 0 / 396.3 MB, free: 212 kB / 362.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.003816/0.06111, allocations: 1.545 MB / 397.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/0.06118, allocations: 11.98 kB / 397.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.0623, allocations: 264 kB / 398.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.06435, allocations: 0.861 MB / 399 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.06442, allocations: 61.94 kB / 399.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.06463, allocations: 95.92 kB / 399.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.06635, allocations: 0.877 MB / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.06639, allocations: 7.953 kB / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.06649, allocations: 32 kB / 400.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002425/0.06673, allocations: 85.94 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.06795, allocations: 455.3 kB / 400.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006782/0.07473, allocations: 4.887 MB / 405.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/0.0756, allocations: 352.1 kB / 405.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.07606, allocations: 176.8 kB / 406 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/0.07613, allocations: 12.5 kB / 406 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005878/0.07671, allocations: 300.1 kB / 406.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.508e-06/0.07672, allocations: 0 / 406.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.006269/0.08299, allocations: 1.611 MB / 407.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.08307, allocations: 111.5 kB / 408 MB, free: 4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009444/0.08402, allocations: 0.7101 MB / 408.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.08407, allocations: 37.73 kB / 408.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.08448, allocations: 0.5768 MB / 409.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.08467, allocations: 249.9 kB / 409.6 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.08494, allocations: 192.2 kB / 409.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.08519, allocations: 0.582 MB / 410.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.08553, allocations: 149.9 kB / 410.5 MB, free: 1.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.08615, allocations: 0.5775 MB / 411.1 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/0.08712, allocations: 0.7534 MB / 411.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.08712, allocations: 0 / 411.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002214/0.08934, allocations: 1.046 MB / 412.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.08937, allocations: 15.98 kB / 412.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.08939, allocations: 8 kB / 412.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.09076, allocations: 435.4 kB / 413.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.09125, allocations: 167.7 kB / 413.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.09729, allocations: 5.571 MB / 419.1 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.09785, allocations: 47.91 kB / 419.1 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.0979, allocations: 44 kB / 419.2 MB, free: 8.195 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.0002954/0.0982, allocations: 220.2 kB / 419.4 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.0983, allocations: 111.4 kB / 419.5 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008869/0.09919, allocations: 0.6142 MB / 420.1 MB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.0992, allocations: 11.98 kB / 420.1 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.0992, allocations: 8 kB / 420.1 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.09921, allocations: 3.984 kB / 420.1 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.1014, allocations: 1.431 MB / 421.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.1014, allocations: 4 kB / 421.6 MB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.1019, allocations: 123.8 kB / 421.7 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/0.1022, allocations: 131 kB / 421.8 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.1023, allocations: 23.98 kB / 421.8 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.1055, allocations: 5.462 MB / 427.3 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1055, allocations: 0 / 427.3 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1069, allocations: 0.9406 MB / 428.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.1072, allocations: 127.4 kB / 428.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.1073, allocations: 19.98 kB / 428.4 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.1075, allocations: 23.98 kB / 428.4 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1077, allocations: 60.27 kB / 428.5 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.1077, allocations: 24 kB / 428.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000471/0.1082, allocations: 430.9 kB / 428.9 MB, free: 13.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1082, allocations: 0 / 428.9 MB, free: 13.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001057/0.1093, allocations: 279.8 kB / 429.2 MB, free: 13.64 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.001384/0.1106, allocations: 483.6 kB / 429.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1123, allocations: 1.083 MB / 430.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1123, allocations: 0 / 430.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.1131, allocations: 0.806 MB / 431.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.1139, allocations: 192.1 kB / 431.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.1177, allocations: 2.173 MB / 433.9 MB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1179, allocations: 280.7 kB / 434.2 MB, free: 8.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005027/0.1184, allocations: 206.8 kB / 434.4 MB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.1186, allocations: 72.42 kB / 434.5 MB, free: 8.352 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.1186, allocations: 0 / 434.5 MB, free: 8.352 MB / 410.7 MB Notification: Performance of Templates: time 0.1731/0.2917, allocations: 14.18 MB / 448.6 MB, free: 94.09 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","",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.9315220420248806]