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.001833/0.001833, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002313/0.002313, allocations: 169.3 kB / 24.27 MB, free: 144 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.516/1.516, 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.3415/0.3415, allocations: 29.41 MB / 290.5 MB, free: 2.441 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 1.423e-06/1.423e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.715e-05, allocations: 5.406 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01185/0.01189, allocations: 6.785 MB / 375.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.02186, allocations: 4.841 MB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.02261, allocations: 39.69 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01466/0.03727, allocations: 6.607 MB / 387.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.03916, allocations: 0.5748 MB / 387.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.04069, allocations: 0.5143 MB / 388.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0043/0.04499, allocations: 2.44 MB / 390.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.04632, allocations: 0.8846 MB / 391.6 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.04768, allocations: 0.8298 MB / 392.4 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.04888, allocations: 0.6817 MB / 393.1 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.04908, allocations: 100 kB / 393.2 MB, free: 2.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.05011, allocations: 315.5 kB / 393.5 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006122/0.05072, allocations: 0.5143 MB / 394 MB, free: 2.113 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000604/0.05132, allocations: 418.9 kB / 394.4 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.05385, allocations: 1.636 MB / 396.1 MB, free: 64 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.05385, allocations: 0 / 396.1 MB, free: 64 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.05386, allocations: 0 / 396.1 MB, free: 64 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.05389, allocations: 0 / 396.1 MB, free: 64 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.003708/0.05759, allocations: 1.43 MB / 397.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.05763, allocations: 11.98 kB / 397.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.05867, allocations: 272 kB / 397.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.06067, allocations: 0.877 MB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.06074, allocations: 65.98 kB / 398.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.06095, allocations: 84 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.06321, allocations: 1.26 MB / 400 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.06325, allocations: 7.953 kB / 400.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.06335, allocations: 39.97 kB / 400.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.0636, allocations: 85.95 kB / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.06542, allocations: 0.9992 MB / 401.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00808/0.0735, allocations: 4.414 MB / 405.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.07463, allocations: 0.5425 MB / 406.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006512/0.07528, allocations: 335.1 kB / 406.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/0.07533, allocations: 12.5 kB / 406.5 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009461/0.07628, allocations: 448.7 kB / 406.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.314e-06/0.07628, allocations: 0 / 406.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005268/0.08155, allocations: 2.38 MB / 409.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/0.08165, allocations: 107.5 kB / 409.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.08274, allocations: 0.719 MB / 410.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.08282, allocations: 37.7 kB / 410.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.08332, allocations: 0.5155 MB / 410.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.08387, allocations: 249.9 kB / 410.9 MB, free: 0.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.08419, allocations: 182.5 kB / 411.1 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002574/0.08445, allocations: 390.8 kB / 411.5 MB, free: 180 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.08517, allocations: 385.8 kB / 411.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.08622, allocations: 0.6867 MB / 412.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.08787, allocations: 1.045 MB / 413.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.08787, allocations: 4 kB / 413.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003456/0.09133, allocations: 1.572 MB / 415.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.09135, allocations: 12.09 kB / 415.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.09136, allocations: 8 kB / 415.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.09342, allocations: 0.5598 MB / 415.7 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.0941, allocations: 167.7 kB / 415.9 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.1055, allocations: 6.796 MB / 422.7 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/0.1063, allocations: 55.97 kB / 422.7 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.1064, allocations: 44 kB / 422.8 MB, free: 4.375 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.0006288/0.107, allocations: 353.3 kB / 423.1 MB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.1072, allocations: 111.4 kB / 423.2 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.1093, allocations: 0.9534 MB / 424.2 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1093, allocations: 4 kB / 424.2 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1093, allocations: 7.938 kB / 424.2 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.1093, allocations: 3.984 kB / 424.2 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.1133, allocations: 1.76 MB / 426 MB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1133, allocations: 4.125 kB / 426 MB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.1141, allocations: 123.8 kB / 426.1 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007053/0.1148, allocations: 162.4 kB / 426.3 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.1148, allocations: 23.98 kB / 426.3 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.12, allocations: 4.426 MB / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.12, allocations: 0 / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.1231, allocations: 1.394 MB / 432.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.1234, allocations: 135.4 kB / 432.2 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.1235, allocations: 24.06 kB / 432.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.124, allocations: 31.97 kB / 432.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.1242, allocations: 60.27 kB / 432.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/0.1243, allocations: 23.98 kB / 432.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007645/0.125, allocations: 483 kB / 432.8 MB, free: 9.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.125, allocations: 0 / 432.8 MB, free: 9.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001173/0.1262, allocations: 279.9 kB / 433.1 MB, free: 9.613 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.002292/0.1285, allocations: 0.5094 MB / 433.6 MB, free: 9.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003219/0.1317, allocations: 1.284 MB / 434.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1317, allocations: 0 / 434.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.1332, allocations: 0.7618 MB / 435.7 MB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1343, allocations: 201.8 kB / 435.9 MB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.139, allocations: 2.437 MB / 438.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.1398, allocations: 0.5489 MB / 438.9 MB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007139/0.1405, allocations: 218.8 kB / 439.1 MB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.1407, allocations: 72.47 kB / 439.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/0.1407, allocations: 0 / 439.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of Templates: time 0.1741/0.3149, allocations: 14.09 MB / 453.2 MB, free: 107.5 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] 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.665926794987172]