Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008752, allocations: 91.31 kB / 16.65 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 184 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 4 kB / 301.5 MB, free: 5.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09437, allocations: 50.43 MB / 352 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009826/0.1043, allocations: 8.282 MB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.1103, allocations: 2.781 MB / 363 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.1118, allocations: 43.81 kB / 363.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.1138, allocations: 0.5205 MB / 363.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.1164, allocations: 0.6294 MB / 364.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1175, allocations: 287.7 kB / 364.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.1209, allocations: 2.549 MB / 367 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.1232, allocations: 1.433 MB / 368.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.1246, allocations: 0.774 MB / 369.3 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.1266, allocations: 1.101 MB / 370.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003318/0.127, allocations: 119.9 kB / 370.5 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.1277, allocations: 219.8 kB / 370.7 MB, free: 484 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.183/0.3107, allocations: 0.576 MB / 371.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.3126, allocations: 1.03 MB / 372.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.3168, allocations: 3.302 MB / 375.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3168, allocations: 0.625 kB / 375.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3168, allocations: 0 / 375.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.11e-05/0.3169, allocations: 0 / 375.6 MB, free: 11.96 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.004656/0.3216, allocations: 2.121 MB / 377.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3216, allocations: 12.5 kB / 377.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003465/0.322, allocations: 267.5 kB / 378 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.3227, allocations: 249.3 kB / 378.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.3247, allocations: 1.262 MB / 379.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3248, allocations: 135.4 kB / 379.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.3251, allocations: 182 kB / 379.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.3292, allocations: 2.389 MB / 382.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.3293, allocations: 6.125 kB / 382.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.3295, allocations: 76.97 kB / 382.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.86e-05/0.3296, allocations: 91 kB / 382.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.3331, allocations: 1.985 MB / 384.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.3433, allocations: 7.172 MB / 391.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.345, allocations: 1.296 MB / 392.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.3465, allocations: 0.8804 MB / 393.7 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.3467, allocations: 119.7 kB / 393.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3467, allocations: 43.97 kB / 393.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/0.3467, allocations: 3.984 kB / 393.9 MB, free: 4.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01302/0.3598, allocations: 6.191 MB / 400.1 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3598, allocations: 61.69 kB / 400.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.3615, allocations: 1.213 MB / 401.3 MB, free: 36 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.3616, allocations: 43.98 kB / 401.4 MB, free: 0 / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/0.3623, allocations: 0.8715 MB / 402.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.3626, allocations: 370.6 kB / 402.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.3628, allocations: 105.6 kB / 402.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.363, allocations: 357.9 kB / 403.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3641, allocations: 0.6233 MB / 403.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3654, allocations: 0.9338 MB / 404.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.3678, allocations: 1.658 MB / 406.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3678, allocations: 0 / 406.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003942/0.3718, allocations: 2.247 MB / 408.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3718, allocations: 8 kB / 408.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.3718, allocations: 12 kB / 408.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.373, allocations: 473.1 kB / 409 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.374, allocations: 276.7 kB / 409.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.3806, allocations: 6.438 MB / 415.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.382, allocations: 83.91 kB / 415.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.3821, allocations: 48 kB / 415.8 MB, free: 1.023 MB / 318.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.001268/0.3834, allocations: 0.6022 MB / 416.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.3836, allocations: 142.2 kB / 416.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.3873, allocations: 2.047 MB / 418.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3873, allocations: 8 kB / 418.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3874, allocations: 8 kB / 418.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3874, allocations: 3.984 kB / 418.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006942/0.3943, allocations: 4.236 MB / 422.9 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3943, allocations: 4 kB / 422.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.3951, allocations: 186.8 kB / 423.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.3965, allocations: 0.5225 MB / 423.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.3966, allocations: 31.98 kB / 423.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007692/0.4043, allocations: 7.941 MB / 431.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.4043, allocations: 7 kB / 431.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.4093, allocations: 2.963 MB / 434.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/0.41, allocations: 351.2 kB / 434.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.4104, allocations: 28 kB / 434.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.4114, allocations: 83.92 kB / 435 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.4116, allocations: 92.66 kB / 435.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.4117, allocations: 31.98 kB / 435.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001467/0.4132, allocations: 0.8343 MB / 435.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4132, allocations: 4 kB / 435.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00172/0.4149, allocations: 407.9 kB / 436.3 MB, free: 11.84 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 (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.00569/0.4206, allocations: 3.608 MB / 439.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00363/0.4242, allocations: 2.174 MB / 442.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.4243, allocations: 7.938 kB / 442.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.4266, allocations: 1.485 MB / 443.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.4295, allocations: 364.7 kB / 444 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/0.4591, allocations: 17.14 MB / 461.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.4608, allocations: 1.641 MB / 462.8 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.4618, allocations: 295.8 kB / 463 MB, free: 108 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.4629, allocations: 0.6925 MB / 463.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4629, allocations: 0.8438 kB / 463.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06047/0.5233, allocations: 35.05 MB / 498.8 MB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/0.5237, allocations: 247.5 kB / 499 MB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.126, allocations: 7.438 kB / 499 MB, free: 12.61 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches