Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 59.97 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01141/0.1169, allocations: 8.877 MB / 367.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005679/0.1226, allocations: 2.898 MB / 370.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1237, allocations: 43.81 kB / 370.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.1252, allocations: 0.5978 MB / 370.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.1272, allocations: 0.7183 MB / 371.6 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.128, allocations: 327.5 kB / 371.9 MB, free: 440 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1675/0.2954, allocations: 2.212 MB / 374.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.2979, allocations: 1.743 MB / 375.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.2998, allocations: 1.015 MB / 376.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.3022, allocations: 1.288 MB / 378.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008244/0.303, allocations: 271.4 kB / 378.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.3042, allocations: 365.5 kB / 378.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007813/0.305, allocations: 0.7549 MB / 379.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.3065, allocations: 1.209 MB / 380.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.3107, allocations: 3.498 MB / 384.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3108, allocations: 7.938 kB / 384.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3108, allocations: 0 / 384.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.882e-05/0.3109, allocations: 1.312 kB / 384.2 MB, free: 8.129 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.006379/0.3173, allocations: 2.491 MB / 386.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3173, allocations: 9.625 kB / 386.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009317/0.3183, allocations: 250.1 kB / 387 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.3207, allocations: 1.268 MB / 388.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3208, allocations: 134.7 kB / 388.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.3212, allocations: 177.3 kB / 388.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.3257, allocations: 2.378 MB / 390.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.347e-05/0.3258, allocations: 15.08 kB / 390.9 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.326, allocations: 73.23 kB / 391 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.3261, allocations: 88.67 kB / 391.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.3296, allocations: 1.968 MB / 393.1 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.3417, allocations: 7.151 MB / 400.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3437, allocations: 1.271 MB / 401.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.3453, allocations: 0.8761 MB / 402.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.3456, allocations: 122.1 kB / 402.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.3456, allocations: 43.56 kB / 402.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.885e-06/0.3457, allocations: 0 / 402.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01519/0.3609, allocations: 6.111 MB / 408.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.3609, allocations: 60.41 kB / 408.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.3631, allocations: 1.219 MB / 409.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.3633, allocations: 45.7 kB / 410 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/0.3641, allocations: 0.8721 MB / 410.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.3645, allocations: 357.8 kB / 411.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/0.3649, allocations: 221.9 kB / 411.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3651, allocations: 357.9 kB / 411.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3662, allocations: 0.6155 MB / 412.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.3676, allocations: 0.9221 MB / 413.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.3701, allocations: 1.642 MB / 414.9 MB, free: 144 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3702, allocations: 4 kB / 414.9 MB, free: 140 kB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004227/0.3744, allocations: 2.228 MB / 417.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.3745, allocations: 10.19 kB / 417.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3745, allocations: 11.94 kB / 417.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.3757, allocations: 480.2 kB / 417.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3768, allocations: 265.6 kB / 417.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007702/0.3845, allocations: 7.025 MB / 424.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.3859, allocations: 85.67 kB / 425 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3861, allocations: 51.98 kB / 425.1 MB, free: 5.648 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.001227/0.3873, allocations: 0.5931 MB / 425.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.3876, allocations: 134.4 kB / 425.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.3915, allocations: 2.031 MB / 427.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.3915, allocations: 12 kB / 427.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.3915, allocations: 4 kB / 427.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3915, allocations: 7.922 kB / 427.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007661/0.3992, allocations: 4.231 MB / 432.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.3993, allocations: 4 kB / 432.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.4001, allocations: 175.8 kB / 432.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.4015, allocations: 0.5306 MB / 432.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.997e-05/0.4016, allocations: 31.98 kB / 432.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009283/0.4109, allocations: 8.623 MB / 441.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.411, allocations: 4 kB / 441.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.4163, allocations: 2.955 MB / 444.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.4172, allocations: 347.3 kB / 444.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.4175, allocations: 28 kB / 444.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/0.4183, allocations: 67.86 kB / 444.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.4186, allocations: 96.81 kB / 444.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.4187, allocations: 31.98 kB / 445 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.4201, allocations: 0.8345 MB / 445.8 MB, free: 116 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4201, allocations: 0 / 445.8 MB, free: 116 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001723/0.4218, allocations: 423.9 kB / 446.2 MB, free: 15.7 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.0004374/0.4223, allocations: 189.6 kB / 446.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004558/0.4268, allocations: 2.494 MB / 448.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4269, allocations: 0 / 448.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.4294, allocations: 1.487 MB / 450.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.4315, allocations: 380.4 kB / 450.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/0.4391, allocations: 3.987 MB / 454.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.4407, allocations: 1.622 MB / 456.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.4412, allocations: 99.42 kB / 456.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4412, allocations: 0 / 456.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Templates: time 0.08403/0.5253, allocations: 68.12 MB / 0.5123 GB, free: 1.102 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches