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.00165/0.00165, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.002048/0.002048, allocations: 165 kB / 24.99 MB, free: 8.297 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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2487/0.2487, allocations: 29.42 MB / 291.2 MB, free: 2.512 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 1.362e-06/1.362e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.49e-05, allocations: 5.547 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006721/0.006746, allocations: 7.236 MB / 376.9 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.01274, allocations: 5.067 MB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000515/0.01326, allocations: 39.69 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007929/0.02119, allocations: 6.619 MB / 388.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.02232, allocations: 0.5749 MB / 389.2 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.02326, allocations: 0.5103 MB / 389.7 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.02557, allocations: 2.436 MB / 392.1 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.02652, allocations: 0.8846 MB / 393 MB, free: 3.879 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.02761, allocations: 0.8493 MB / 393.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009648/0.02857, allocations: 0.6966 MB / 394.5 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.02874, allocations: 104 kB / 394.6 MB, free: 2.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.02932, allocations: 307.5 kB / 394.9 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.02968, allocations: 0.526 MB / 395.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.03009, allocations: 407.1 kB / 395.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.03149, allocations: 1.11 MB / 397 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.03149, allocations: 0 / 397 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.03149, allocations: 0 / 397 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.03152, allocations: 4 kB / 397 MB, free: 15.89 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.002249/0.03377, allocations: 1.541 MB / 398.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.03382, allocations: 15.98 kB / 398.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.03452, allocations: 268 kB / 398.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.03571, allocations: 0.8609 MB / 399.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.03575, allocations: 58 kB / 399.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.03587, allocations: 87.97 kB / 399.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.03695, allocations: 0.8887 MB / 400.7 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.03698, allocations: 11.89 kB / 400.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.03704, allocations: 35.98 kB / 400.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.03719, allocations: 81.95 kB / 400.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.03794, allocations: 443.4 kB / 401.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.04224, allocations: 4.894 MB / 406.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.04278, allocations: 352.6 kB / 406.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.04305, allocations: 172.8 kB / 406.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.04309, allocations: 12.5 kB / 406.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.04348, allocations: 300.2 kB / 407 MB, free: 5.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.834e-06/0.04348, allocations: 0 / 407 MB, free: 5.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002591/0.04607, allocations: 1.604 MB / 408.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.04613, allocations: 115.5 kB / 408.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.04672, allocations: 0.71 MB / 409.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.04676, allocations: 41.7 kB / 409.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.04704, allocations: 0.5768 MB / 410 MB, free: 2.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.0472, allocations: 253.9 kB / 410.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.04738, allocations: 188.2 kB / 410.4 MB, free: 1.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.04756, allocations: 0.5821 MB / 411 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.04781, allocations: 145.9 kB / 411.2 MB, free: 1.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.04824, allocations: 0.5814 MB / 411.7 MB, free: 396 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.04893, allocations: 0.7534 MB / 412.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.04893, allocations: 4 kB / 412.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001474/0.05041, allocations: 1.046 MB / 413.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.05043, allocations: 10.5 kB / 413.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.05044, allocations: 12 kB / 413.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.05145, allocations: 431.4 kB / 414 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.05179, allocations: 167.7 kB / 414.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.05659, allocations: 5.582 MB / 419.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.05695, allocations: 39.98 kB / 419.8 MB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.05701, allocations: 43.98 kB / 419.8 MB, free: 7.875 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.0002559/0.05727, allocations: 216.2 kB / 420 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.05738, allocations: 107.4 kB / 420.1 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/0.05826, allocations: 0.6219 MB / 420.8 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.05827, allocations: 11.98 kB / 420.8 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.05827, allocations: 0 / 420.8 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.05828, allocations: 11.98 kB / 420.8 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.06006, allocations: 1.435 MB / 422.2 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.06006, allocations: 7.984 kB / 422.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.06044, allocations: 119.8 kB / 422.3 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.06073, allocations: 131 kB / 422.5 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.06078, allocations: 19.98 kB / 422.5 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.06332, allocations: 5.466 MB / 427.9 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.06332, allocations: 7.938 kB / 428 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.06457, allocations: 0.9367 MB / 428.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.06476, allocations: 127.4 kB / 429 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.06483, allocations: 20 kB / 429 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.06505, allocations: 27.97 kB / 429.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.06517, allocations: 52.34 kB / 429.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.0652, allocations: 23.98 kB / 429.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.06555, allocations: 423 kB / 429.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06555, allocations: 0 / 429.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007455/0.06629, allocations: 283.9 kB / 429.8 MB, free: 13.32 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.0009701/0.06726, allocations: 486.9 kB / 430.3 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.06864, allocations: 1.078 MB / 431.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.06865, allocations: 1.438 kB / 431.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006605/0.06931, allocations: 0.7982 MB / 432.2 MB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.0699, allocations: 197.1 kB / 432.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.07309, allocations: 2.176 MB / 434.5 MB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.07331, allocations: 280.7 kB / 434.8 MB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.07371, allocations: 202.9 kB / 435 MB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.07384, allocations: 68.48 kB / 435.1 MB, free: 8.043 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.07384, allocations: 0 / 435.1 MB, free: 8.043 MB / 410.7 MB Notification: Performance of Templates: time 0.1467/0.2206, allocations: 14.19 MB / 449.3 MB, free: 108.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","",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.751163895940408]