Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001005, allocations: 191.8 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.6 MB / 244.7 MB, free: 8.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00084/0.0008396, allocations: 100.1 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002185/0.0002185, allocations: 4 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2573, allocations: 51.29 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.005989/0.2633, allocations: 7.822 MB / 415.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.2672, allocations: 2.702 MB / 418.6 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.2678, allocations: 43.81 kB / 418.6 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.2688, allocations: 0.4932 MB / 419.1 MB, free: 16.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.27, allocations: 0.6099 MB / 419.7 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.2705, allocations: 207.4 kB / 419.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.272, allocations: 2.323 MB / 422.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.2732, allocations: 1.437 MB / 423.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009272/0.2741, allocations: 0.7782 MB / 424.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009607/0.2751, allocations: 1.062 MB / 425.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.2753, allocations: 116 kB / 425.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.2757, allocations: 223.8 kB / 425.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.2762, allocations: 0.5763 MB / 426.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.2768, allocations: 0.9892 MB / 427.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.2785, allocations: 2.836 MB / 430.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2785, allocations: 4 kB / 430.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2785, allocations: 0 / 430.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.2786, allocations: 0 / 430.3 MB, free: 5.41 MB / 298.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.003376/0.2819, allocations: 2.123 MB / 432.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.282, allocations: 12.03 kB / 432.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.2826, allocations: 254.2 kB / 432.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.2842, allocations: 1.27 MB / 433.9 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/0.2843, allocations: 135.9 kB / 434 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.2845, allocations: 183.8 kB / 434.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.2879, allocations: 2.374 MB / 436.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/0.288, allocations: 11.92 kB / 436.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.2882, allocations: 76 kB / 436.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.62e-05/0.2883, allocations: 91.5 kB / 436.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/0.2914, allocations: 1.97 MB / 438.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.3016, allocations: 7.175 MB / 445.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3034, allocations: 1.277 MB / 447.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.3049, allocations: 0.8776 MB / 448.1 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.3051, allocations: 126.1 kB / 448.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3052, allocations: 39.56 kB / 448.2 MB, free: 3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.737e-06/0.3052, allocations: 0 / 448.2 MB, free: 3 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.01298/0.3182, allocations: 6.199 MB / 454.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3182, allocations: 60.41 kB / 454.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3199, allocations: 1.215 MB / 455.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.32, allocations: 41.7 kB / 455.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.3206, allocations: 0.873 MB / 456.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.3208, allocations: 362.8 kB / 457 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.3209, allocations: 20 kB / 457 MB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3211, allocations: 357.9 kB / 457.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009898/0.3221, allocations: 0.6194 MB / 458 MB, free: 9.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3232, allocations: 0.9342 MB / 458.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.3255, allocations: 1.65 MB / 460.6 MB, free: 6.219 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3255, allocations: 0 / 460.6 MB, free: 6.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003625/0.3292, allocations: 2.243 MB / 462.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3292, allocations: 8 kB / 462.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.3292, allocations: 8 kB / 462.8 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.3303, allocations: 476.1 kB / 463.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.3313, allocations: 275.6 kB / 463.5 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.3374, allocations: 6.423 MB / 470 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/0.3383, allocations: 83.91 kB / 470.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.3384, allocations: 48.16 kB / 470.1 MB, free: 12.21 MB / 346.7 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.0009919/0.3394, allocations: 0.606 MB / 470.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.3397, allocations: 142.4 kB / 470.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.3431, allocations: 2.043 MB / 472.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3431, allocations: 12 kB / 472.9 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3431, allocations: 7.938 kB / 472.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3432, allocations: 3.984 kB / 472.9 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006644/0.3498, allocations: 4.235 MB / 477.1 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.3498, allocations: 4 kB / 477.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.3506, allocations: 187.7 kB / 477.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.3519, allocations: 0.5157 MB / 477.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/0.352, allocations: 31.98 kB / 477.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007296/0.3593, allocations: 7.928 MB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3594, allocations: 7.938 kB / 485.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.3637, allocations: 2.959 MB / 488.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/0.3643, allocations: 343.4 kB / 489.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.3645, allocations: 28 kB / 489.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.3652, allocations: 83.91 kB / 489.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.3654, allocations: 88.77 kB / 489.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.3655, allocations: 35.98 kB / 489.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.3666, allocations: 0.8305 MB / 490.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.3666, allocations: 0 / 490.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001235/0.3679, allocations: 412.1 kB / 490.6 MB, free: 6.883 MB / 362.7 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.0003153/0.3682, allocations: 190.9 kB / 490.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.3713, allocations: 2.166 MB / 492.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3714, allocations: 0 / 492.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.3734, allocations: 1.479 MB / 494.4 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.3756, allocations: 369.3 kB / 494.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.3816, allocations: 4.713 MB / 499.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.3828, allocations: 1.618 MB / 0.4894 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.3832, allocations: 103.4 kB / 0.4895 GB, free: 11.99 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3832, allocations: 0 / 0.4895 GB, free: 11.99 MB / 378.7 MB Notification: Performance of Templates: time 0.2193/0.6025, allocations: 67.76 MB / 0.5556 GB, free: 43.21 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches