Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009549/0.000955, allocations: 174.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007011/0.0007013, allocations: 85 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1899, allocations: 47.57 MB / 375.1 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.007333/0.1973, allocations: 9.082 MB / 384.2 MB, free: 38.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.2024, allocations: 3.267 MB / 387.4 MB, free: 35.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.2036, allocations: 46.78 kB / 387.5 MB, free: 35.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2051, allocations: 0.619 MB / 388.1 MB, free: 35.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.2072, allocations: 0.7165 MB / 388.8 MB, free: 34.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.2081, allocations: 272 kB / 389.1 MB, free: 34.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.2107, allocations: 2.842 MB / 391.9 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.2125, allocations: 1.976 MB / 393.9 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.2138, allocations: 0.9531 MB / 394.9 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.2151, allocations: 1.288 MB / 396.2 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.2153, allocations: 140 kB / 396.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.2159, allocations: 255.8 kB / 396.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004949/0.2164, allocations: 0.7048 MB / 397.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.2173, allocations: 1.222 MB / 398.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.2194, allocations: 3.518 MB / 402 MB, free: 21.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2194, allocations: 0 / 402 MB, free: 21.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2194, allocations: 0 / 402 MB, free: 21.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.49e-05/0.2195, allocations: 0 / 402 MB, free: 21.67 MB / 298.7 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.004082/0.2236, allocations: 2.586 MB / 404.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2236, allocations: 12.03 kB / 404.6 MB, free: 19.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.2243, allocations: 309.5 kB / 404.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.2263, allocations: 1.516 MB / 406.4 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.2264, allocations: 176.5 kB / 406.6 MB, free: 16.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.2267, allocations: 223.9 kB / 406.8 MB, free: 16.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.2306, allocations: 2.901 MB / 409.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.2307, allocations: 12 kB / 409.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.2309, allocations: 91.98 kB / 409.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/0.231, allocations: 112.3 kB / 409.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.2347, allocations: 2.437 MB / 412.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.2458, allocations: 9.164 MB / 421.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.2477, allocations: 1.717 MB / 423.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.2494, allocations: 0.9994 MB / 424.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.2497, allocations: 207.2 kB / 424.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2498, allocations: 47.56 kB / 424.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.026e-06/0.2498, allocations: 0 / 424.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01378/0.2635, allocations: 6.657 MB / 431.1 MB, free: 7.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.2636, allocations: 64.41 kB / 431.2 MB, free: 7.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.2659, allocations: 1.557 MB / 432.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.266, allocations: 53.64 kB / 432.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.2667, allocations: 1.104 MB / 433.9 MB, free: 4.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.2671, allocations: 433.8 kB / 434.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.2672, allocations: 28 kB / 434.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2674, allocations: 361.9 kB / 434.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2686, allocations: 0.7183 MB / 435.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.2701, allocations: 1.143 MB / 436.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.2728, allocations: 1.98 MB / 438.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2729, allocations: 4 kB / 438.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004266/0.2771, allocations: 2.526 MB / 441.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.2772, allocations: 16.28 kB / 441.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.2772, allocations: 12 kB / 441.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.2782, allocations: 423 kB / 441.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.2795, allocations: 355.4 kB / 441.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.2861, allocations: 6.557 MB / 448.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.2875, allocations: 119.8 kB / 448.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.2877, allocations: 60 kB / 448.6 MB, free: 5.328 MB / 330.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.289, allocations: 0.716 MB / 449.3 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.2894, allocations: 169.9 kB / 449.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.2932, allocations: 2.21 MB / 451.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.2932, allocations: 12 kB / 451.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.2933, allocations: 8 kB / 451.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.2933, allocations: 3.984 kB / 451.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.3012, allocations: 4.805 MB / 456.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3013, allocations: 4 kB / 456.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/0.3022, allocations: 227.7 kB / 456.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.3034, allocations: 451.2 kB / 457.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.3035, allocations: 43.98 kB / 457.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0077/0.3112, allocations: 7.958 MB / 465.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3113, allocations: 8 kB / 465.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005134/0.3164, allocations: 3.247 MB / 468.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008718/0.3173, allocations: 398.9 kB / 468.8 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.3175, allocations: 35.98 kB / 468.9 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.3184, allocations: 91.84 kB / 469 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.3186, allocations: 109 kB / 469.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.3187, allocations: 39.94 kB / 469.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001597/0.3203, allocations: 1.055 MB / 470.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.3203, allocations: 0 / 470.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001555/0.3219, allocations: 495.9 kB / 470.6 MB, free: 14.4 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000357/0.3223, allocations: 191 kB / 470.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.326, allocations: 2.297 MB / 473.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.3261, allocations: 4 kB / 473.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.3285, allocations: 1.481 MB / 474.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/0.3321, allocations: 450.4 kB / 475 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/0.3404, allocations: 5.667 MB / 480.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.3422, allocations: 1.839 MB / 482.6 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005975/0.3428, allocations: 135.4 kB / 482.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3428, allocations: 0 / 482.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of Templates: time 0.2795/0.6223, allocations: 73.23 MB / 0.5429 GB, free: 59.28 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches