Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002905, allocations: 71.88 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2845, allocations: 50.55 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01577/0.3003, allocations: 13.44 MB / 422.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009202/0.3095, allocations: 4.497 MB / 426.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.3121, allocations: 79.69 kB / 426.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.3151, allocations: 0.9968 MB / 427.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.3195, allocations: 1.247 MB / 429.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.3219, allocations: 0.8855 MB / 430 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00523/0.3272, allocations: 3.928 MB / 433.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/0.3315, allocations: 3.228 MB / 437.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.3345, allocations: 1.838 MB / 439 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.3385, allocations: 2.195 MB / 441.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.34, allocations: 0.5 MB / 441.7 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.3424, allocations: 0.7185 MB / 442.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.3438, allocations: 1.103 MB / 443.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.3478, allocations: 2.081 MB / 445.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00874/0.3565, allocations: 6.654 MB / 452.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3566, allocations: 0 / 452.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3566, allocations: 0 / 452.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000151/0.3568, allocations: 0 / 452.2 MB, free: 5.828 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01159/0.3684, allocations: 4.425 MB / 456.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3684, allocations: 8.031 kB / 456.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006878/0.3691, allocations: 455.2 kB / 457.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004243/0.3734, allocations: 0.8066 MB / 457.9 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.3781, allocations: 2.409 MB / 460.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3783, allocations: 242.2 kB / 460.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005694/0.3789, allocations: 308 kB / 460.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007689/0.3866, allocations: 4.234 MB / 465.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-05/0.3867, allocations: 4 kB / 465.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.387, allocations: 128 kB / 465.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.3871, allocations: 150.3 kB / 465.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/0.3942, allocations: 3.616 MB / 469 MB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.4166, allocations: 13.14 MB / 482.1 MB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007971/0.4247, allocations: 7.176 MB / 489.3 MB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/0.428, allocations: 1.632 MB / 490.9 MB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00703/0.4351, allocations: 4.206 MB / 495.1 MB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.4351, allocations: 47.5 kB / 495.2 MB, free: 9.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.377e-06/0.4351, allocations: 0 / 495.2 MB, free: 9.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01166/0.4468, allocations: 5.612 MB / 0.4891 GB, free: 3.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4469, allocations: 72.34 kB / 0.4891 GB, free: 3.316 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.4495, allocations: 1.719 MB / 0.4908 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.4496, allocations: 49.64 kB / 0.4909 GB, free: 1.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.4508, allocations: 1.454 MB / 0.4923 GB, free: 72 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.4512, allocations: 456.3 kB / 0.4927 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/0.4517, allocations: 287.5 kB / 0.493 GB, free: 15.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4518, allocations: 301.1 kB / 0.4933 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.453, allocations: 0.6637 MB / 0.4939 GB, free: 14.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4545, allocations: 1.117 MB / 0.495 GB, free: 13.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.4574, allocations: 1.902 MB / 0.4969 GB, free: 10.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4574, allocations: 4 kB / 0.4969 GB, free: 10.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004228/0.4616, allocations: 2.422 MB / 0.4992 GB, free: 8.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4617, allocations: 12 kB / 0.4993 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.4617, allocations: 16 kB / 0.4993 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008137/0.4625, allocations: 307.5 kB / 0.4996 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4638, allocations: 355.4 kB / 0.4999 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006839/0.4707, allocations: 6.635 MB / 0.5064 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.472, allocations: 72.08 kB / 0.5065 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4722, allocations: 71.98 kB / 0.5065 GB, free: 0.6055 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001755/0.4739, allocations: 0.9972 MB / 0.5075 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.4743, allocations: 190.8 kB / 0.5077 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.4784, allocations: 2.221 MB / 0.5098 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4785, allocations: 16 kB / 0.5099 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4785, allocations: 8 kB / 0.5099 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4785, allocations: 7.969 kB / 0.5099 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.4867, allocations: 4.948 MB / 0.5147 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4868, allocations: 192 / 0.5147 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/0.4875, allocations: 175.8 kB / 0.5149 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.4889, allocations: 491.8 kB / 0.5153 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.489, allocations: 39.92 kB / 0.5154 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.5009, allocations: 11.48 MB / 0.5266 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.501, allocations: 4.031 kB / 0.5266 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.5065, allocations: 3.113 MB / 0.5296 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009375/0.5074, allocations: 423.7 kB / 0.53 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.5077, allocations: 32 kB / 0.5301 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00085/0.5085, allocations: 67.88 kB / 0.5301 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.5088, allocations: 96.81 kB / 0.5302 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.5089, allocations: 43.98 kB / 0.5303 GB, free: 7.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.5107, allocations: 1.182 MB / 0.5314 GB, free: 6.078 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5108, allocations: 0 / 0.5314 GB, free: 6.078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001969/0.5127, allocations: 0.5468 MB / 0.532 GB, free: 5.531 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005801/0.5185, allocations: 3.72 MB / 0.5356 GB, free: 1.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1938/0.7124, allocations: 2.132 MB / 0.5377 GB, free: 126 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7124, allocations: 2.75 kB / 0.5377 GB, free: 126 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.7153, allocations: 1.556 MB / 0.5392 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.718, allocations: 0.5186 MB / 0.5397 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/0.7443, allocations: 19.29 MB / 0.5585 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.7464, allocations: 2.288 MB / 0.5608 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001316/0.7477, allocations: 383.9 kB / 0.5611 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.7491, allocations: 1.114 MB / 0.5622 GB, free: 110.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7491, allocations: 0 / 0.5622 GB, free: 110.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08641/0.8355, allocations: 50.75 MB / 0.6118 GB, free: 60.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.47, allocations: 20.08 kB / 0.6118 GB, free: 60 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches