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.001147/0.001146, allocations: 98.09 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001492, allocations: 203.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 4 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007403/0.1129, allocations: 7.194 MB / 365.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.1177, allocations: 2.788 MB / 368 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007706/0.1185, allocations: 39.81 kB / 368.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.1197, allocations: 0.5014 MB / 368.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.1214, allocations: 0.5997 MB / 369.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.122, allocations: 215.7 kB / 369.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.1239, allocations: 1.447 MB / 370.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1253, allocations: 1.235 MB / 372.1 MB, free: 60 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2166/0.3419, allocations: 0.6985 MB / 372.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.3439, allocations: 0.9182 MB / 373.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004467/0.3444, allocations: 115.8 kB / 373.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.3451, allocations: 187.1 kB / 374 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007228/0.3459, allocations: 0.5421 MB / 374.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.3465, allocations: 435.4 kB / 375 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.3499, allocations: 2.798 MB / 377.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3499, allocations: 2.625 kB / 377.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3499, allocations: 0 / 377.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.798e-05/0.35, allocations: 4.531 kB / 377.8 MB, free: 10.19 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.005111/0.3552, allocations: 2.133 MB / 379.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3552, allocations: 9.844 kB / 379.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.356, allocations: 245.7 kB / 380.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.3582, allocations: 1.253 MB / 381.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3584, allocations: 131.4 kB / 381.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.3586, allocations: 182.1 kB / 381.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/0.363, allocations: 2.36 MB / 384.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/0.363, allocations: 9.219 kB / 384.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.3632, allocations: 72.67 kB / 384.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.3633, allocations: 91.03 kB / 384.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.3671, allocations: 1.967 MB / 386.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.3787, allocations: 7.121 MB / 393.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.3804, allocations: 1.282 MB / 394.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.3807, allocations: 118.4 kB / 394.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3807, allocations: 47.44 kB / 394.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.735e-06/0.3807, allocations: 4 kB / 394.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.01465/0.3954, allocations: 6.781 MB / 401.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3954, allocations: 64.41 kB / 401.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.3972, allocations: 1.168 MB / 402.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/0.3973, allocations: 41.7 kB / 402.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.3979, allocations: 0.8694 MB / 403.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.3983, allocations: 389.5 kB / 404.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.3984, allocations: 24 kB / 404.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3985, allocations: 353.9 kB / 404.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3995, allocations: 0.6623 MB / 405.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.4007, allocations: 0.9618 MB / 406.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4019, allocations: 0.7994 MB / 406.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4019, allocations: 4 kB / 406.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003995/0.4059, allocations: 2.354 MB / 409.2 MB, free: 7.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.406, allocations: 8 kB / 409.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.406, allocations: 8 kB / 409.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.4075, allocations: 0.5973 MB / 409.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.4086, allocations: 271.6 kB / 410.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/0.4164, allocations: 6.439 MB / 416.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.418, allocations: 91.97 kB / 416.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.4181, allocations: 51.98 kB / 416.7 MB, free: 15.58 MB / 334.1 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 (130): * Single equations (assignments): 126 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.4197, allocations: 0.5934 MB / 417.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.4201, allocations: 138.3 kB / 417.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.4241, allocations: 2.173 MB / 419.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4241, allocations: 15.95 kB / 419.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4242, allocations: 4 kB / 419.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.4242, allocations: 8.094 kB / 419.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/0.4322, allocations: 4.292 MB / 423.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4322, allocations: 3.938 kB / 423.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.4329, allocations: 175.8 kB / 424.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.4346, allocations: 0.6515 MB / 424.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.4347, allocations: 31.94 kB / 424.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008537/0.4433, allocations: 7.933 MB / 432.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4433, allocations: 4.125 kB / 432.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.4484, allocations: 3.22 MB / 435.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4494, allocations: 359.2 kB / 436.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.4497, allocations: 27.98 kB / 436.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/0.4505, allocations: 75.92 kB / 436.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.4508, allocations: 92.81 kB / 436.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.4508, allocations: 31.98 kB / 436.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.4522, allocations: 0.7954 MB / 437.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4522, allocations: 0 / 437.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001777/0.454, allocations: 424 kB / 437.7 MB, free: 9.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (83): * Single equations (assignments): 79 * 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%) 20,(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.0003643/0.4544, allocations: 148.2 kB / 437.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.4579, allocations: 2.226 MB / 440.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.458, allocations: 4.25 kB / 440.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.4604, allocations: 1.495 MB / 441.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.4624, allocations: 353.2 kB / 441.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/0.47, allocations: 4.69 MB / 446.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.4717, allocations: 1.681 MB / 448.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.4728, allocations: 295.8 kB / 448.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.4731, allocations: 91.42 kB / 448.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.875e-06/0.4731, allocations: 0 / 448.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Templates: time 0.03979/0.5129, allocations: 21.52 MB / 470.2 MB, free: 9.469 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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches