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.001446/0.001446, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001746/0.001746, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1908/0.1908, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 179] 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 67.89 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.413, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01275/0.4258, allocations: 6.796 MB / 0.5491 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.4375, allocations: 4.852 MB / 0.5538 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.4394, allocations: 39.03 kB / 0.5538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02304/0.4624, allocations: 6.481 MB / 0.5602 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.4656, allocations: 0.5559 MB / 0.5607 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.4683, allocations: 0.499 MB / 0.5612 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006615/0.4749, allocations: 2.389 MB / 0.5635 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.4775, allocations: 0.8609 MB / 0.5644 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.4801, allocations: 0.6227 MB / 0.565 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.4826, allocations: 0.7512 MB / 0.5657 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005986/0.4832, allocations: 104 kB / 0.5658 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.4848, allocations: 307.7 kB / 0.5661 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.486, allocations: 0.4909 MB / 0.5666 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.4876, allocations: 485.8 kB / 0.567 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.4916, allocations: 1.615 MB / 0.5686 GB, free: 9.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.4916, allocations: 4 kB / 0.5686 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4916, allocations: 0 / 0.5686 GB, free: 9.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.285e-05/0.4917, allocations: 3.938 kB / 0.5686 GB, free: 9.316 MB / 414.1 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.006168/0.4979, allocations: 1.434 MB / 0.57 GB, free: 7.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.006e-05/0.4979, allocations: 11.98 kB / 0.57 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.4994, allocations: 192.1 kB / 0.5702 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.5026, allocations: 0.834 MB / 0.571 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.5027, allocations: 65.98 kB / 0.5711 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.503, allocations: 95.92 kB / 0.5712 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.5061, allocations: 1.262 MB / 0.5724 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.5061, allocations: 3.938 kB / 0.5724 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.5062, allocations: 35.98 kB / 0.5725 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000385/0.5066, allocations: 89.94 kB / 0.5726 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.5094, allocations: 0.9991 MB / 0.5735 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.5198, allocations: 4.401 MB / 0.5778 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.5212, allocations: 0.5422 MB / 0.5784 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.5218, allocations: 331.3 kB / 0.5787 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.5218, allocations: 16.48 kB / 0.5787 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009631/0.5228, allocations: 444.8 kB / 0.5791 GB, free: 14.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 3.467e-06/0.5228, allocations: 0 / 0.5791 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005601/0.5284, allocations: 2.364 MB / 0.5814 GB, free: 11.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.5285, allocations: 115.4 kB / 0.5815 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5296, allocations: 0.719 MB / 0.5822 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.5296, allocations: 33.7 kB / 0.5823 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.5301, allocations: 0.5194 MB / 0.5828 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.5304, allocations: 253.9 kB / 0.583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.5307, allocations: 182.6 kB / 0.5832 GB, free: 9.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.5309, allocations: 394.7 kB / 0.5836 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.5316, allocations: 377.8 kB / 0.5839 GB, free: 9.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.5325, allocations: 0.6751 MB / 0.5846 GB, free: 8.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.534, allocations: 1.057 MB / 0.5856 GB, free: 7.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.534, allocations: 0 / 0.5856 GB, free: 7.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003201/0.5372, allocations: 1.533 MB / 0.5871 GB, free: 5.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5372, allocations: 11.94 kB / 0.5871 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.5372, allocations: 8 kB / 0.5871 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.539, allocations: 497.9 kB / 0.5876 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.5396, allocations: 167.7 kB / 0.5878 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.5508, allocations: 6.761 MB / 0.5944 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.5519, allocations: 44.03 kB / 0.5944 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.552, allocations: 44.12 kB / 0.5945 GB, free: 13.92 MB / 446.1 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.0007447/0.5527, allocations: 369.3 kB / 0.5948 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5529, allocations: 79.48 kB / 0.5949 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.5549, allocations: 0.9572 MB / 0.5958 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5549, allocations: 7.938 kB / 0.5958 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5549, allocations: 7.938 kB / 0.5958 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.5549, allocations: 3.984 kB / 0.5958 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.5585, allocations: 1.752 MB / 0.5975 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.5585, allocations: 7.984 kB / 0.5976 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007642/0.5592, allocations: 123.9 kB / 0.5977 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/0.5598, allocations: 162.4 kB / 0.5978 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.5599, allocations: 19.98 kB / 0.5978 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/0.5644, allocations: 4.418 MB / 0.6022 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5644, allocations: 3.938 kB / 0.6022 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.5669, allocations: 1.375 MB / 0.6035 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.5673, allocations: 135.6 kB / 0.6036 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5674, allocations: 19.94 kB / 0.6037 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.5679, allocations: 31.97 kB / 0.6037 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.568, allocations: 56.38 kB / 0.6037 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.5681, allocations: 20 kB / 0.6038 GB, free: 3.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006937/0.5688, allocations: 490.9 kB / 0.6042 GB, free: 3.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5688, allocations: 8 kB / 0.6042 GB, free: 3.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001145/0.5699, allocations: 279.9 kB / 0.6045 GB, free: 3.199 MB / 446.1 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.001806/0.5717, allocations: 0.4904 MB / 0.605 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.5744, allocations: 1.284 MB / 0.6062 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5744, allocations: 4.5 kB / 0.6062 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5758, allocations: 0.7567 MB / 0.607 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5769, allocations: 197.6 kB / 0.6072 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.5819, allocations: 2.716 MB / 0.6098 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.5826, allocations: 0.545 MB / 0.6104 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007115/0.5834, allocations: 218.9 kB / 0.6106 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5836, allocations: 75.41 kB / 0.6106 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5836, allocations: 3.938 kB / 0.6106 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Templates: time 0.03033/0.6139, allocations: 15.3 MB / 0.6256 GB, free: 13.83 MB / 478.1 MB " [Timeout remaining time 659] 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: 6.178829785436392]