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.001091/0.001091, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001119/0.001119, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.602/1.602, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.002021/0.002021, allocations: 47.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1463, allocations: 46.61 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.3944/0.5408, allocations: 10.27 MB / 385.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.5556, allocations: 3.48 MB / 388.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004901/0.5606, allocations: 50.81 kB / 389 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004505/0.5653, allocations: 0.8147 MB / 389.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008216/0.5736, allocations: 0.8778 MB / 390.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.5769, allocations: 419 kB / 391.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00973/0.5867, allocations: 2.761 MB / 393.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007624/0.5943, allocations: 2.367 MB / 396.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/0.5999, allocations: 1.266 MB / 397.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00667/0.6066, allocations: 1.581 MB / 399 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002727/0.6094, allocations: 334.7 kB / 399.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.6137, allocations: 433.2 kB / 399.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.6164, allocations: 0.9352 MB / 400.7 MB, free: 60 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005084/0.6215, allocations: 1.513 MB / 402.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.6327, allocations: 4.38 MB / 406.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.6328, allocations: 1.156 kB / 406.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6328, allocations: 0 / 406.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003126/0.6331, allocations: 0 / 406.6 MB, free: 12.46 MB / 334.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.01342/0.6465, allocations: 3.054 MB / 409.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/0.6466, allocations: 9.656 kB / 409.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.648, allocations: 307.3 kB / 410 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.6514, allocations: 1.537 MB / 411.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.6516, allocations: 167.4 kB / 411.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.652, allocations: 223.1 kB / 411.9 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006412/0.6584, allocations: 2.915 MB / 414.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.6585, allocations: 10.69 kB / 414.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.6587, allocations: 91.17 kB / 414.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.6589, allocations: 120.8 kB / 415 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004757/0.6637, allocations: 2.426 MB / 417.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.6801, allocations: 9.012 MB / 426.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.6827, allocations: 1.702 MB / 428.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.6847, allocations: 0.9721 MB / 429.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.685, allocations: 203.2 kB / 429.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.6851, allocations: 47.56 kB / 429.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 4.959e-06/0.6851, allocations: 0 / 429.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01627/0.7014, allocations: 6.536 MB / 435.9 MB, free: 2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7015, allocations: 72.34 kB / 436 MB, free: 1.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.705, allocations: 1.565 MB / 437.6 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.7051, allocations: 45.7 kB / 437.6 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.7061, allocations: 1.104 MB / 438.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.7066, allocations: 438.5 kB / 439.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004862/0.7071, allocations: 267.4 kB / 439.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7073, allocations: 301.1 kB / 439.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.7086, allocations: 0.7105 MB / 440.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.7103, allocations: 1.135 MB / 441.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.7132, allocations: 1.968 MB / 443.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.7132, allocations: 4 kB / 443.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004748/0.718, allocations: 2.518 MB / 446 MB, free: 7.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.718, allocations: 16.5 kB / 446 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.7181, allocations: 16 kB / 446.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.7192, allocations: 423.2 kB / 446.5 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.7205, allocations: 347.5 kB / 446.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008297/0.7288, allocations: 7.122 MB / 453.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.7311, allocations: 107.8 kB / 454 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.7313, allocations: 64.09 kB / 454.1 MB, free: 14.92 MB / 382.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.002266/0.7336, allocations: 0.7166 MB / 454.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007829/0.7344, allocations: 173.9 kB / 455 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.7392, allocations: 2.19 MB / 457.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.7392, allocations: 16 kB / 457.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.7393, allocations: 4 kB / 457.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.7393, allocations: 11.92 kB / 457.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.7503, allocations: 4.773 MB / 462 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.7503, allocations: 4 kB / 462 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.7513, allocations: 223.7 kB / 462.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.7525, allocations: 460.5 kB / 462.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.7527, allocations: 35.98 kB / 462.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008927/0.7616, allocations: 8.659 MB / 471.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.7617, allocations: 7.938 kB / 471.3 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006325/0.768, allocations: 3.226 MB / 474.6 MB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.7695, allocations: 406.7 kB / 475 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/0.7703, allocations: 35.98 kB / 475 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.7719, allocations: 83.91 kB / 475.1 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.7722, allocations: 100.8 kB / 475.2 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.7723, allocations: 39.98 kB / 475.2 MB, free: 8.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002672/0.775, allocations: 1.07 MB / 476.3 MB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.775, allocations: 0 / 476.3 MB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003175/0.7782, allocations: 484 kB / 476.8 MB, free: 7.344 MB / 398.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.0006698/0.7789, allocations: 194.9 kB / 477 MB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005054/0.784, allocations: 2.297 MB / 479.3 MB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.784, allocations: 0 / 479.3 MB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.7868, allocations: 1.478 MB / 480.7 MB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.7901, allocations: 488.6 kB / 481.2 MB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.8017, allocations: 4.681 MB / 485.9 MB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.8035, allocations: 1.871 MB / 487.8 MB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001341/0.8048, allocations: 390.8 kB / 488.1 MB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.8052, allocations: 119.4 kB / 488.3 MB, free: 11.61 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8052, allocations: 0 / 488.3 MB, free: 11.61 MB / 414.1 MB Notification: Performance of Templates: time 0.0532/0.8584, allocations: 26.83 MB / 0.503 GB, free: 0.7344 MB / 430.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/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","/var/lib/jenkins/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