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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001338, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 8 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009523/0.1475, allocations: 7.828 MB / 366.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006281/0.1538, allocations: 2.728 MB / 369.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1555, allocations: 39.81 kB / 369.2 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.1575, allocations: 493.1 kB / 369.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.1601, allocations: 0.606 MB / 370.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.1612, allocations: 207.7 kB / 370.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2702/0.4314, allocations: 2.297 MB / 372.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.434, allocations: 1.229 MB / 374 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.436, allocations: 0.7803 MB / 374.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.4379, allocations: 1.064 MB / 375.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.4382, allocations: 116.2 kB / 376 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006629/0.4388, allocations: 190.1 kB / 376.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.4396, allocations: 0.5799 MB / 376.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.4401, allocations: 436.4 kB / 377.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.4438, allocations: 2.833 MB / 380 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4438, allocations: 1.25 kB / 380 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4439, allocations: 1.422 kB / 380 MB, free: 9.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.73e-05/0.4439, allocations: 4 kB / 380 MB, free: 9.418 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00469/0.4486, allocations: 2.152 MB / 382.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4487, allocations: 9.75 kB / 382.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.4495, allocations: 249.5 kB / 382.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.4517, allocations: 1.232 MB / 383.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.4519, allocations: 138.4 kB / 383.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.4522, allocations: 183 kB / 384 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/0.4572, allocations: 2.374 MB / 386.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.4573, allocations: 2.375 kB / 386.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.4575, allocations: 75.22 kB / 386.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.4576, allocations: 91.34 kB / 386.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.4615, allocations: 1.972 MB / 388.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.473, allocations: 7.172 MB / 395.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.4747, allocations: 1.275 MB / 396.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.476, allocations: 0.8833 MB / 397.8 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.4762, allocations: 122.7 kB / 397.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4763, allocations: 49.03 kB / 398 MB, free: 1.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.356e-06/0.4763, allocations: 0 / 398 MB, free: 1.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01318/0.4895, allocations: 6.2 MB / 404.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.4896, allocations: 68.41 kB / 404.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.4916, allocations: 1.203 MB / 405.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-05/0.4917, allocations: 45.7 kB / 405.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.4923, allocations: 0.8649 MB / 406.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4926, allocations: 366.8 kB / 406.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.4927, allocations: 28 kB / 406.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4929, allocations: 353.9 kB / 407.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009751/0.4939, allocations: 0.6233 MB / 407.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.495, allocations: 0.9325 MB / 408.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.4962, allocations: 0.7564 MB / 409.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4962, allocations: 4 kB / 409.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003695/0.4999, allocations: 2.232 MB / 411.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5, allocations: 8 kB / 411.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.5, allocations: 11.98 kB / 411.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.501, allocations: 485.5 kB / 412.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.502, allocations: 279.5 kB / 412.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.5081, allocations: 6.416 MB / 418.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.5095, allocations: 91.97 kB / 418.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.5096, allocations: 47.98 kB / 419 MB, free: 12.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001371/0.511, allocations: 0.5988 MB / 419.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.5112, allocations: 134.3 kB / 419.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.5147, allocations: 2.044 MB / 421.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5147, allocations: 8 kB / 421.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5147, allocations: 4 kB / 421.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.5147, allocations: 13.89 kB / 421.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/0.5213, allocations: 4.236 MB / 426 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.5213, allocations: 4 kB / 426 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/0.5221, allocations: 184.2 kB / 426.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.5233, allocations: 0.5231 MB / 426.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/0.5234, allocations: 31.98 kB / 426.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.5306, allocations: 7.917 MB / 434.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5306, allocations: 7.938 kB / 434.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.5353, allocations: 2.954 MB / 437.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/0.5361, allocations: 347.3 kB / 438 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.5363, allocations: 43.88 kB / 438 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/0.537, allocations: 71.92 kB / 438.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.5373, allocations: 92.81 kB / 438.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.5374, allocations: 39.92 kB / 438.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.539, allocations: 0.8305 MB / 439 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.605e-06/0.539, allocations: 0 / 439 MB, free: 7.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002172/0.5412, allocations: 415.6 kB / 439.4 MB, free: 7.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[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 (88): * Single equations (assignments): 83 * 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: 4 * 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: 4 {(2,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.000334/0.5415, allocations: 151 kB / 439.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.5449, allocations: 2.167 MB / 441.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5449, allocations: 4 kB / 441.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.5471, allocations: 1.48 MB / 443.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.5492, allocations: 371.5 kB / 443.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.5575, allocations: 4.665 MB / 448.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.5591, allocations: 1.638 MB / 449.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001269/0.5604, allocations: 295.8 kB / 450.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.5607, allocations: 99.42 kB / 450.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5607, allocations: 0 / 450.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.0419/0.6026, allocations: 20.58 MB / 470.9 MB, free: 8.098 MB / 382.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches