Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 106.2 kB / 18.25 MB, free: 4.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 191.3 kB / 19.18 MB, free: 4 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 225 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 52.41 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07967, allocations: 46.63 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01196/0.09166, allocations: 10.26 MB / 338.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008668/0.1004, allocations: 3.479 MB / 341.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.1025, allocations: 51.75 kB / 341.8 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.106, allocations: 0.7645 MB / 342.5 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.1105, allocations: 0.8385 MB / 343.4 MB, free: 4.992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1122, allocations: 423.4 kB / 343.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.1177, allocations: 2.747 MB / 346.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005659/0.1234, allocations: 2.37 MB / 348.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.1263, allocations: 1.242 MB / 350.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003779/0.1301, allocations: 1.584 MB / 351.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.1315, allocations: 332 kB / 352 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.1334, allocations: 431.8 kB / 352.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.1355, allocations: 0.9467 MB / 353.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003602/0.1391, allocations: 1.501 MB / 354.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006946/0.1461, allocations: 4.326 MB / 359.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.1462, allocations: 4 kB / 359.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1462, allocations: 0 / 359.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001675/0.1464, allocations: 0 / 359.2 MB, free: 5.008 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01039/0.1568, allocations: 3.045 MB / 362.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1568, allocations: 12.03 kB / 362.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.1581, allocations: 317.4 kB / 362.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/0.162, allocations: 1.509 MB / 364.1 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.1623, allocations: 176.5 kB / 364.3 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.1629, allocations: 219.9 kB / 364.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007924/0.1708, allocations: 2.921 MB / 367.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.698e-05/0.171, allocations: 7.891 kB / 367.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.1713, allocations: 91.94 kB / 367.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/0.1715, allocations: 120.3 kB / 367.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007059/0.1786, allocations: 2.426 MB / 370.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.201, allocations: 9.117 MB / 379.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1621/0.3632, allocations: 1.699 MB / 380.9 MB, free: 50.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.3652, allocations: 0.9823 MB / 381.9 MB, free: 50.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.3655, allocations: 204.9 kB / 382.1 MB, free: 50.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3655, allocations: 48.31 kB / 382.1 MB, free: 50.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 3.266e-06/0.3656, allocations: 1.781 kB / 382.1 MB, free: 50.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01418/0.3797, allocations: 6.53 MB / 388.6 MB, free: 47.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3798, allocations: 64.81 kB / 388.7 MB, free: 47.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.3822, allocations: 1.567 MB / 390.3 MB, free: 47.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.3823, allocations: 46.42 kB / 390.3 MB, free: 47.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.383, allocations: 1.109 MB / 391.4 MB, free: 46.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.3833, allocations: 427.9 kB / 391.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.3837, allocations: 271.8 kB / 392.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.3837, allocations: 306.3 kB / 392.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3848, allocations: 0.7055 MB / 393.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3859, allocations: 1.142 MB / 394.3 MB, free: 44.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.3883, allocations: 1.965 MB / 396.2 MB, free: 43.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.3883, allocations: 5.312 kB / 396.2 MB, free: 43.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003767/0.3921, allocations: 2.521 MB / 398.7 MB, free: 42.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3922, allocations: 11.88 kB / 398.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3922, allocations: 11.84 kB / 398.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000877/0.3931, allocations: 423.7 kB / 399.2 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.3942, allocations: 352.4 kB / 399.5 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/0.3995, allocations: 7.142 MB / 406.7 MB, free: 36.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.401, allocations: 114.7 kB / 406.8 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4011, allocations: 67.55 kB / 406.8 MB, free: 35.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.4023, allocations: 0.7089 MB / 407.6 MB, free: 35.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.4026, allocations: 169.9 kB / 407.7 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.4058, allocations: 2.182 MB / 409.9 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4058, allocations: 19.94 kB / 409.9 MB, free: 32.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4058, allocations: 4 kB / 409.9 MB, free: 32.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4058, allocations: 7.969 kB / 409.9 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006468/0.4123, allocations: 4.789 MB / 414.7 MB, free: 27.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4123, allocations: 4 kB / 414.7 MB, free: 27.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008887/0.4132, allocations: 223.7 kB / 414.9 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009931/0.4142, allocations: 458.7 kB / 415.4 MB, free: 27.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/0.4143, allocations: 39.97 kB / 415.4 MB, free: 27.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005936/0.4203, allocations: 8.668 MB / 424.1 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4203, allocations: 11.44 kB / 424.1 MB, free: 17.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/0.4246, allocations: 3.216 MB / 427.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008511/0.4254, allocations: 402.8 kB / 427.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.4257, allocations: 28 kB / 427.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009476/0.4267, allocations: 87.77 kB / 427.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.4269, allocations: 104.8 kB / 427.9 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.427, allocations: 39.98 kB / 428 MB, free: 13.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.4283, allocations: 1.066 MB / 429 MB, free: 12.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4283, allocations: 0 / 429 MB, free: 12.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001724/0.43, allocations: 493.2 kB / 429.5 MB, free: 12.45 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,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.000382/0.4304, allocations: 192.4 kB / 429.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004303/0.4347, allocations: 2.79 MB / 432.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4347, allocations: 3.984 kB / 432.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.4368, allocations: 1.47 MB / 434 MB, free: 7.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.439, allocations: 489.6 kB / 434.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.4453, allocations: 4.79 MB / 439.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4464, allocations: 1.839 MB / 441.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.4469, allocations: 135.4 kB / 441.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4469, allocations: 0 / 441.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of Templates: time 0.07622/0.5231, allocations: 73.59 MB / 0.5027 GB, free: 6.824 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches