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.001117/0.001117, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.41 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009821/0.1148, allocations: 8.86 MB / 367.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.1197, allocations: 2.898 MB / 370.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.1204, allocations: 43.81 kB / 370.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.1218, allocations: 0.6016 MB / 371.3 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1234, allocations: 0.7144 MB / 372 MB, free: 156 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1674/0.2908, allocations: 324.1 kB / 372.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003319/0.2941, allocations: 2.232 MB / 374.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.2964, allocations: 1.739 MB / 376.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.2981, allocations: 1.026 MB / 377.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.2998, allocations: 1.283 MB / 378.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.3001, allocations: 268.9 kB / 378.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.3009, allocations: 362.6 kB / 379.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007582/0.3016, allocations: 0.7615 MB / 380 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.303, allocations: 1.218 MB / 381.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.3066, allocations: 3.532 MB / 384.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3066, allocations: 0 / 384.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3066, allocations: 0 / 384.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.093e-05/0.3067, allocations: 5.062 kB / 384.8 MB, free: 8.707 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.004845/0.3115, allocations: 2.486 MB / 387.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3116, allocations: 9.312 kB / 387.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.3123, allocations: 258 kB / 387.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.3145, allocations: 1.309 MB / 388.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.3146, allocations: 139.9 kB / 389 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.3149, allocations: 179.8 kB / 389.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/0.3189, allocations: 2.37 MB / 391.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.319, allocations: 10.44 kB / 391.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.3191, allocations: 75.23 kB / 391.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.3193, allocations: 91.5 kB / 391.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.3225, allocations: 1.965 MB / 393.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.3328, allocations: 7.061 MB / 400.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.3346, allocations: 1.271 MB / 402 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.3361, allocations: 0.8696 MB / 402.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.3364, allocations: 126.1 kB / 403 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3364, allocations: 43.56 kB / 403 MB, free: 12.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.514e-06/0.3364, allocations: 0 / 403 MB, free: 12.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01367/0.3501, allocations: 6.099 MB / 409.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3502, allocations: 68.34 kB / 409.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.3521, allocations: 1.223 MB / 410.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.839e-05/0.3522, allocations: 41.7 kB / 410.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.3528, allocations: 0.8684 MB / 411.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.3531, allocations: 358.7 kB / 411.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.3534, allocations: 225.9 kB / 411.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3536, allocations: 357.9 kB / 412.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009943/0.3546, allocations: 0.6155 MB / 412.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3558, allocations: 0.9177 MB / 413.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.3581, allocations: 1.649 MB / 415.4 MB, free: 80 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.3581, allocations: 4 kB / 415.4 MB, free: 76 kB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003788/0.3619, allocations: 2.223 MB / 417.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3619, allocations: 15.94 kB / 417.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.362, allocations: 8 kB / 417.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3631, allocations: 479.9 kB / 418.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.3641, allocations: 271.6 kB / 418.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006808/0.3709, allocations: 7.009 MB / 425.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3722, allocations: 79.83 kB / 425.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.3724, allocations: 51.98 kB / 425.5 MB, free: 5.488 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.3735, allocations: 0.5988 MB / 426.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.3739, allocations: 134.4 kB / 426.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.3776, allocations: 2.035 MB / 428.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3776, allocations: 16 kB / 428.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.3776, allocations: 4 kB / 428.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.3776, allocations: 3.984 kB / 428.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007698/0.3853, allocations: 4.217 MB / 432.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.3854, allocations: 4 kB / 432.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.3862, allocations: 175.8 kB / 432.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.3875, allocations: 0.5268 MB / 433.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.3877, allocations: 27.98 kB / 433.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007963/0.3956, allocations: 8.62 MB / 441.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3957, allocations: 4 kB / 441.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/0.401, allocations: 2.945 MB / 444.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.4025, allocations: 347.3 kB / 445.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/0.403, allocations: 28 kB / 445.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.4041, allocations: 71.86 kB / 445.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.4044, allocations: 92.81 kB / 445.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/0.4045, allocations: 35.98 kB / 445.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.406, allocations: 0.8383 MB / 446.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.406, allocations: 0 / 446.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001951/0.408, allocations: 419.9 kB / 446.6 MB, free: 15.53 MB / 366.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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004409/0.4084, allocations: 193.6 kB / 446.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.412, allocations: 2.162 MB / 449 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.412, allocations: 4 kB / 449 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.4142, allocations: 1.475 MB / 450.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.4163, allocations: 398.2 kB / 450.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.423, allocations: 3.888 MB / 454.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.4246, allocations: 1.638 MB / 456.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008956/0.4255, allocations: 299.8 kB / 456.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.4258, allocations: 95.42 kB / 456.8 MB, free: 5.145 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4258, allocations: 0 / 456.8 MB, free: 5.145 MB / 366.1 MB Notification: Performance of Templates: time 0.03752/0.4633, allocations: 22.36 MB / 479.1 MB, free: 15.03 MB / 398.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 -s gbode -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","/var/lib/jenkins1/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