Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002648/0.002648, allocations: 177.6 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.793/2.793, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001198/0.001198, allocations: 89.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006383, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4467, allocations: 47.56 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.6705, allocations: 105.7 MB / 481.4 MB, free: 6.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005107/0.6711, allocations: 91.95 kB / 481.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5691/1.24, allocations: 46.02 MB / 0.5152 GB, free: 96.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.299e-06/1.24, allocations: 3.938 kB / 0.5152 GB, free: 96.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002319/1.241, allocations: 58.94 kB / 0.5152 GB, free: 96.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00923/1.25, allocations: 2.473 MB / 0.5176 GB, free: 94.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/1.25, allocations: 7.094 kB / 0.5176 GB, free: 94.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/1.252, allocations: 297.8 kB / 0.5179 GB, free: 94.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006022/1.258, allocations: 1.654 MB / 0.5195 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/1.258, allocations: 158 kB / 0.5197 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008729/1.259, allocations: 215.6 kB / 0.5199 GB, free: 93.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/1.266, allocations: 2.8 MB / 0.5226 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-05/1.267, allocations: 3.25 kB / 0.5226 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/1.267, allocations: 95.22 kB / 0.5227 GB, free: 91.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/1.267, allocations: 102 kB / 0.5228 GB, free: 91.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006487/1.274, allocations: 2.251 MB / 0.525 GB, free: 90.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/1.293, allocations: 8.632 MB / 0.5334 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/1.296, allocations: 1.756 MB / 0.5352 GB, free: 80.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/1.298, allocations: 0.8317 MB / 0.536 GB, free: 79.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/1.298, allocations: 223.1 kB / 0.5362 GB, free: 79.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.298, allocations: 43.56 kB / 0.5362 GB, free: 79.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 5.932e-06/1.298, allocations: 3.938 kB / 0.5362 GB, free: 79.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.02289/1.321, allocations: 7.015 MB / 0.5431 GB, free: 72.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/1.321, allocations: 72.41 kB / 0.5432 GB, free: 71.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/1.325, allocations: 1.41 MB / 0.5445 GB, free: 70.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004012/1.325, allocations: 45.7 kB / 0.5446 GB, free: 70.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008591/1.326, allocations: 1.026 MB / 0.5456 GB, free: 69.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/1.327, allocations: 449.2 kB / 0.546 GB, free: 68.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/1.327, allocations: 28 kB / 0.546 GB, free: 68.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/1.327, allocations: 365.9 kB / 0.5464 GB, free: 68.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/1.329, allocations: 0.7457 MB / 0.5471 GB, free: 67.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/1.331, allocations: 1.123 MB / 0.5482 GB, free: 66.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/1.335, allocations: 1.984 MB / 0.5501 GB, free: 64.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.335, allocations: 4 kB / 0.5501 GB, free: 64.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006563/1.342, allocations: 2.606 MB / 0.5527 GB, free: 61.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/1.342, allocations: 16.19 kB / 0.5527 GB, free: 61.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.342, allocations: 12 kB / 0.5527 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.344, allocations: 0.5762 MB / 0.5533 GB, free: 61.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.345, allocations: 335.5 kB / 0.5536 GB, free: 60.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009461/1.355, allocations: 6.338 MB / 0.5598 GB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.357, allocations: 119.9 kB / 0.5599 GB, free: 54.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/1.357, allocations: 60 kB / 0.56 GB, free: 54.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (157): * Single equations (assignments): 154 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001964/1.359, allocations: 0.6925 MB / 0.5606 GB, free: 53.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.36, allocations: 162 kB / 0.5608 GB, free: 53.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/1.366, allocations: 2.374 MB / 0.5631 GB, free: 50.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.366, allocations: 12 kB / 0.5631 GB, free: 50.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.366, allocations: 8 kB / 0.5631 GB, free: 50.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.366, allocations: 3.984 kB / 0.5631 GB, free: 50.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.378, allocations: 4.793 MB / 0.5678 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-05/1.378, allocations: 288 / 0.5678 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.379, allocations: 211.7 kB / 0.568 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/1.382, allocations: 0.6388 MB / 0.5686 GB, free: 45.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.382, allocations: 35.98 kB / 0.5687 GB, free: 45.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.396, allocations: 8.064 MB / 0.5765 GB, free: 36.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.396, allocations: 0 / 0.5765 GB, free: 36.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008865/1.405, allocations: 3.417 MB / 0.5799 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.407, allocations: 406.9 kB / 0.5803 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005733/1.408, allocations: 28 kB / 0.5803 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.409, allocations: 99.89 kB / 0.5804 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/1.41, allocations: 96.8 kB / 0.5805 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.41, allocations: 35.98 kB / 0.5805 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002359/1.412, allocations: 0.9654 MB / 0.5815 GB, free: 31.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.412, allocations: 0 / 0.5815 GB, free: 31.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003503/1.416, allocations: 0.5273 MB / 0.582 GB, free: 30.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (98): * Single equations (assignments): 95 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008717/1.417, allocations: 305.3 kB / 0.5823 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006133/1.423, allocations: 2.372 MB / 0.5846 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.423, allocations: 3.938 kB / 0.5846 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003871/1.427, allocations: 1.525 MB / 0.5861 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.431, allocations: 389.2 kB / 0.5865 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.444, allocations: 5.461 MB / 0.5918 GB, free: 20.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.446, allocations: 1.8 MB / 0.5935 GB, free: 18.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009698/1.447, allocations: 119.4 kB / 0.5937 GB, free: 18.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/1.447, allocations: 4 kB / 0.5937 GB, free: 18.82 MB / 378.7 MB Notification: Performance of Templates: time 0.47/1.917, allocations: 59.65 MB / 0.6519 GB, free: 116.6 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches