Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007551/0.0007551, allocations: 87.88 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002406/0.0002409, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2119, allocations: 51.28 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.3287, allocations: 103.4 MB / 0.5007 GB, free: 4.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.329, allocations: 101.7 kB / 0.5008 GB, free: 3.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2705/0.5995, allocations: 40.4 MB / 0.5403 GB, free: 73.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5995, allocations: 0 / 0.5403 GB, free: 73.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.5997, allocations: 47.94 kB / 0.5403 GB, free: 73.45 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005187/0.6049, allocations: 2.123 MB / 0.5424 GB, free: 71.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6049, allocations: 8.031 kB / 0.5424 GB, free: 71.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.6061, allocations: 266.2 kB / 0.5426 GB, free: 71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.609, allocations: 1.387 MB / 0.544 GB, free: 69.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.6091, allocations: 143.9 kB / 0.5441 GB, free: 69.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.6093, allocations: 184.2 kB / 0.5443 GB, free: 69.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.6127, allocations: 2.36 MB / 0.5466 GB, free: 66.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.6128, allocations: 7.906 kB / 0.5466 GB, free: 66.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.613, allocations: 72 kB / 0.5467 GB, free: 66.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.6131, allocations: 83.52 kB / 0.5468 GB, free: 66.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.6158, allocations: 1.884 MB / 0.5486 GB, free: 64.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009265/0.6251, allocations: 7.187 MB / 0.5556 GB, free: 57.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.6267, allocations: 1.308 MB / 0.5569 GB, free: 56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.6277, allocations: 0.737 MB / 0.5576 GB, free: 55.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.628, allocations: 142 kB / 0.5578 GB, free: 55.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.628, allocations: 47.5 kB / 0.5578 GB, free: 55.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.605e-06/0.628, allocations: 0 / 0.5578 GB, free: 55.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.01437/0.6424, allocations: 7.18 MB / 0.5648 GB, free: 47.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.6425, allocations: 64.41 kB / 0.5649 GB, free: 47.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.6441, allocations: 1.176 MB / 0.566 GB, free: 46.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6442, allocations: 49.7 kB / 0.5661 GB, free: 46.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.6446, allocations: 0.8614 MB / 0.5669 GB, free: 45.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.6448, allocations: 398.2 kB / 0.5673 GB, free: 45.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.6449, allocations: 31.94 kB / 0.5673 GB, free: 45.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.645, allocations: 357.9 kB / 0.5677 GB, free: 44.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/0.6459, allocations: 0.6819 MB / 0.5683 GB, free: 44.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009967/0.6469, allocations: 0.9775 MB / 0.5693 GB, free: 42.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.649, allocations: 1.763 MB / 0.571 GB, free: 41.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.649, allocations: 4 kB / 0.571 GB, free: 41.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003712/0.6527, allocations: 2.42 MB / 0.5734 GB, free: 38.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.6528, allocations: 8 kB / 0.5734 GB, free: 38.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.6528, allocations: 8 kB / 0.5734 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.6542, allocations: 0.6375 MB / 0.574 GB, free: 37.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/0.6552, allocations: 287.6 kB / 0.5743 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.661, allocations: 6.324 MB / 0.5805 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6623, allocations: 91.97 kB / 0.5806 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.6624, allocations: 55.98 kB / 0.5806 GB, free: 30.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.6636, allocations: 0.5988 MB / 0.5812 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.6639, allocations: 138.3 kB / 0.5813 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.6673, allocations: 2.271 MB / 0.5835 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6673, allocations: 16 kB / 0.5836 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6673, allocations: 4 kB / 0.5836 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6673, allocations: 7.969 kB / 0.5836 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006499/0.6738, allocations: 4.461 MB / 0.5879 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6739, allocations: 4 kB / 0.5879 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.6745, allocations: 172.1 kB / 0.5881 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.6761, allocations: 0.7135 MB / 0.5888 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.6762, allocations: 31.98 kB / 0.5888 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/0.683, allocations: 8.072 MB / 0.5967 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.683, allocations: 4 kB / 0.5967 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.6875, allocations: 3.24 MB / 0.5999 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/0.6884, allocations: 355.3 kB / 0.6002 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.6885, allocations: 31.94 kB / 0.6002 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/0.6893, allocations: 88.16 kB / 0.6003 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.6895, allocations: 96.8 kB / 0.6004 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.6896, allocations: 39.98 kB / 0.6005 GB, free: 9.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.6907, allocations: 0.8071 MB / 0.6012 GB, free: 9.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6907, allocations: 0 / 0.6012 GB, free: 9.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001512/0.6922, allocations: 487.9 kB / 0.6017 GB, free: 8.695 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * 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 (85): * Single equations (assignments): 81 * 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 {(5,76.0%) 23,(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.0004678/0.6927, allocations: 311.6 kB / 0.602 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003153/0.6959, allocations: 2.307 MB / 0.6043 GB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6959, allocations: 4 kB / 0.6043 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.6979, allocations: 1.562 MB / 0.6058 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.7002, allocations: 368.8 kB / 0.6061 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.7066, allocations: 4.759 MB / 0.6108 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.7082, allocations: 1.654 MB / 0.6124 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.7094, allocations: 288.1 kB / 0.6127 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.7096, allocations: 103.4 kB / 0.6128 GB, free: 13.13 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7096, allocations: 0 / 0.6128 GB, free: 13.13 MB / 394.7 MB Notification: Performance of Templates: time 0.04503/0.7547, allocations: 25.16 MB / 0.6374 GB, free: 4.141 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches