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.001109/0.001109, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001103/0.001103, allocations: 191.3 kB / 17.43 MB, free: 6.066 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 48.7 kB / 300.1 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09716, allocations: 49.44 MB / 349.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01069/0.1079, allocations: 8.785 MB / 358.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.1132, allocations: 2.804 MB / 361.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1146, allocations: 43.81 kB / 361.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.1164, allocations: 0.5284 MB / 361.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.1185, allocations: 0.6333 MB / 362.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.1194, allocations: 295.6 kB / 362.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.1226, allocations: 2.565 MB / 365.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.1247, allocations: 1.433 MB / 366.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1259, allocations: 0.8989 MB / 367.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.1278, allocations: 1.23 MB / 368.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006078/0.1284, allocations: 168 kB / 368.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009096/0.1294, allocations: 267.8 kB / 369.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007573/0.1301, allocations: 0.6582 MB / 369.8 MB, free: 128 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1596/0.2898, allocations: 1.098 MB / 370.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.2928, allocations: 3.411 MB / 374.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2928, allocations: 0 / 374.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2928, allocations: 0 / 374.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.127e-05/0.2929, allocations: 1.469 kB / 374.3 MB, free: 12.64 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.004337/0.2972, allocations: 2.483 MB / 376.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2973, allocations: 8.859 kB / 376.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003427/0.2976, allocations: 264.7 kB / 377.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.2983, allocations: 247.7 kB / 377.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.3002, allocations: 1.273 MB / 378.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.3003, allocations: 131.4 kB / 378.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.3005, allocations: 188 kB / 378.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.3044, allocations: 2.374 MB / 381.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.3045, allocations: 8.453 kB / 381.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.3047, allocations: 73.48 kB / 381.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.124e-05/0.3048, allocations: 92.31 kB / 381.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.3081, allocations: 1.963 MB / 383.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.3188, allocations: 7.147 MB / 390.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.3204, allocations: 1.273 MB / 391.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.3219, allocations: 0.8671 MB / 392.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.3221, allocations: 129.2 kB / 392.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3222, allocations: 38.75 kB / 392.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.815e-06/0.3222, allocations: 0 / 392.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01308/0.3352, allocations: 6.086 MB / 398.9 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3353, allocations: 67.3 kB / 399 MB, free: 0.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3369, allocations: 1.214 MB / 400.2 MB, free: 4 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.337, allocations: 43.55 kB / 400.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.3378, allocations: 0.866 MB / 401.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.3381, allocations: 363.5 kB / 401.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.3385, allocations: 219.7 kB / 401.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3386, allocations: 358.8 kB / 402 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009786/0.3396, allocations: 0.6232 MB / 402.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3408, allocations: 0.9184 MB / 403.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.3432, allocations: 1.641 MB / 405.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3432, allocations: 0 / 405.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003787/0.347, allocations: 2.231 MB / 407.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.347, allocations: 8 kB / 407.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.347, allocations: 8 kB / 407.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.3482, allocations: 480.5 kB / 407.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/0.3491, allocations: 272 kB / 408.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.3554, allocations: 6.43 MB / 414.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.3565, allocations: 82.33 kB / 414.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.3566, allocations: 48.86 kB / 414.8 MB, free: 1.305 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.001087/0.3577, allocations: 0.5945 MB / 415.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.3579, allocations: 138.2 kB / 415.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.3613, allocations: 2.026 MB / 417.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3613, allocations: 16 kB / 417.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3613, allocations: 4 kB / 417.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3614, allocations: 4.641 kB / 417.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/0.3678, allocations: 4.232 MB / 421.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3679, allocations: 8.062 kB / 421.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.3686, allocations: 176.3 kB / 422 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.3699, allocations: 0.5249 MB / 422.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/0.37, allocations: 31.98 kB / 422.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007811/0.3778, allocations: 7.922 MB / 430.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3778, allocations: 7.688 kB / 430.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.3822, allocations: 2.928 MB / 433.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006912/0.3829, allocations: 351.2 kB / 433.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.3831, allocations: 31.98 kB / 433.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.3839, allocations: 71.92 kB / 433.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3841, allocations: 98.44 kB / 433.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.3842, allocations: 32 kB / 433.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.3855, allocations: 0.8343 MB / 434.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3855, allocations: 0 / 434.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001513/0.3871, allocations: 411.9 kB / 435.2 MB, free: 12.21 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.005032/0.3921, allocations: 3.571 MB / 438.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.3955, allocations: 2.157 MB / 440.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3955, allocations: 3.938 kB / 440.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/0.3976, allocations: 1.476 MB / 442.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.3994, allocations: 358.7 kB / 442.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.4253, allocations: 16.96 MB / 459.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.4267, allocations: 1.638 MB / 461.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009804/0.4277, allocations: 299.8 kB / 461.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008453/0.4286, allocations: 0.6867 MB / 462.3 MB, free: 60 kB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4286, allocations: 4 kB / 462.3 MB, free: 56 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.5368, allocations: 35.56 MB / 497.9 MB, free: 12.93 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.5371, allocations: 240.7 kB / 498.1 MB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.119, allocations: 0 / 498.1 MB, free: 12.68 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