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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 194 kB / 22.76 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1823/0.1823, allocations: 38.51 MB / 345 MB, free: 2.684 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001915/0.001915, allocations: 63.84 kB / 482.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 61.24 MB / 0.531 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.008267/0.327, allocations: 7.224 MB / 0.538 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008959/0.336, allocations: 5.115 MB / 0.543 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009866/0.337, allocations: 32.56 kB / 0.543 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.3497, allocations: 6.007 MB / 0.5489 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.3516, allocations: 0.5185 MB / 0.5494 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.3531, allocations: 0.4939 MB / 0.5499 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003708/0.3568, allocations: 2.314 MB / 0.5521 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3579, allocations: 0.818 MB / 0.5529 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.359, allocations: 0.615 MB / 0.5535 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.3601, allocations: 0.7669 MB / 0.5543 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.3602, allocations: 100 kB / 0.5544 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.3608, allocations: 267.7 kB / 0.5546 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.3613, allocations: 0.4948 MB / 0.5551 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.362, allocations: 0.5831 MB / 0.5557 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.3639, allocations: 1.545 MB / 0.5572 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3639, allocations: 3.984 kB / 0.5572 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3639, allocations: 4 kB / 0.5572 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3639, allocations: 3.938 kB / 0.5572 GB, free: 1.906 MB / 398.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.003062/0.367, allocations: 1.478 MB / 0.5587 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.367, allocations: 16.03 kB / 0.5587 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/0.3676, allocations: 152.1 kB / 0.5588 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.3694, allocations: 0.9217 MB / 0.5597 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/0.3695, allocations: 65.98 kB / 0.5598 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.3697, allocations: 80 kB / 0.5599 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.3716, allocations: 1.235 MB / 0.5611 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.3717, allocations: 7.953 kB / 0.5611 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.3718, allocations: 35.98 kB / 0.5611 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.372, allocations: 89.88 kB / 0.5612 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.3737, allocations: 1.007 MB / 0.5622 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006887/0.3806, allocations: 4.906 MB / 0.567 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009807/0.3815, allocations: 0.6061 MB / 0.5676 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.3821, allocations: 335.2 kB / 0.5679 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.3822, allocations: 12.55 kB / 0.5679 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006769/0.3828, allocations: 449.7 kB / 0.5683 GB, free: 6.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.3828, allocations: 0 / 0.5683 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.00495/0.3878, allocations: 2.738 MB / 0.571 GB, free: 3.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.3879, allocations: 111.4 kB / 0.5711 GB, free: 3.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009833/0.3889, allocations: 0.7507 MB / 0.5718 GB, free: 2.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.3889, allocations: 41.7 kB / 0.5719 GB, free: 2.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.3893, allocations: 0.5077 MB / 0.5724 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.3895, allocations: 245.9 kB / 0.5726 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.3898, allocations: 182.5 kB / 0.5728 GB, free: 1.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.39, allocations: 398.7 kB / 0.5732 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.3906, allocations: 377.7 kB / 0.5735 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.3914, allocations: 0.65 MB / 0.5742 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.3929, allocations: 1.053 MB / 0.5752 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3929, allocations: 7.938 kB / 0.5752 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003088/0.396, allocations: 1.619 MB / 0.5768 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.396, allocations: 8 kB / 0.5768 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.396, allocations: 8 kB / 0.5768 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.3975, allocations: 493.8 kB / 0.5773 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.3982, allocations: 167.7 kB / 0.5774 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.4082, allocations: 7.088 MB / 0.5843 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.4089, allocations: 55.92 kB / 0.5844 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.409, allocations: 43.98 kB / 0.5844 GB, free: 4.82 MB / 430.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.0005352/0.4095, allocations: 353.5 kB / 0.5848 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4097, allocations: 87.44 kB / 0.5849 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.4115, allocations: 1.11 MB / 0.5859 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.4115, allocations: 4 kB / 0.5859 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4115, allocations: 4 kB / 0.5859 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4116, allocations: 7.969 kB / 0.586 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.415, allocations: 2.115 MB / 0.588 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.415, allocations: 0 / 0.588 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.4157, allocations: 124 kB / 0.5881 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/0.4163, allocations: 166.5 kB / 0.5883 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.4164, allocations: 19.98 kB / 0.5883 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.4209, allocations: 4.805 MB / 0.593 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.4209, allocations: 7.938 kB / 0.593 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.4234, allocations: 1.531 MB / 0.5945 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.4238, allocations: 224.5 kB / 0.5947 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.4239, allocations: 16 kB / 0.5947 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.4244, allocations: 31.97 kB / 0.5948 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.4246, allocations: 56.36 kB / 0.5948 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.4246, allocations: 20 kB / 0.5948 GB, free: 9.449 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007929/0.4254, allocations: 0.5185 MB / 0.5954 GB, free: 8.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4254, allocations: 0 / 0.5954 GB, free: 8.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001104/0.4265, allocations: 267.9 kB / 0.5956 GB, free: 8.676 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.001495/0.428, allocations: 415.8 kB / 0.596 GB, free: 8.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.4307, allocations: 1.282 MB / 0.5973 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4307, allocations: 0 / 0.5973 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.432, allocations: 0.7702 MB / 0.598 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4332, allocations: 221.8 kB / 0.5982 GB, free: 6.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.438, allocations: 2.793 MB / 0.6009 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009185/0.439, allocations: 1.147 MB / 0.6021 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.4393, allocations: 71.41 kB / 0.6021 GB, free: 1.992 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4393, allocations: 0 / 0.6021 GB, free: 1.992 MB / 446.1 MB Notification: Performance of Templates: time 0.03328/0.4726, allocations: 23.03 MB / 0.6246 GB, free: 10.99 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins1/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