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.0009066/0.0009066, allocations: 96.97 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001116, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002108, allocations: 8 kB / 307.9 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08165, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01392/0.09563, allocations: 12.63 MB / 372 MB, free: 500 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1529/0.2485, allocations: 4.372 MB / 376.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.2505, allocations: 75.16 kB / 376.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.2528, allocations: 0.8644 MB / 377.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.2558, allocations: 1.124 MB / 378.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.2574, allocations: 0.8201 MB / 379.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.2614, allocations: 4.245 MB / 383.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.2641, allocations: 2.665 MB / 386.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.2659, allocations: 1.277 MB / 387.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.2677, allocations: 1.663 MB / 389.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.268, allocations: 201.4 kB / 389.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.2691, allocations: 439.5 kB / 389.7 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.2697, allocations: 0.751 MB / 390.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.2712, allocations: 1.718 MB / 392.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.2756, allocations: 6.209 MB / 398.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2757, allocations: 5.109 kB / 398.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2757, allocations: 0 / 398.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.2758, allocations: 0 / 398.4 MB, free: 15.42 MB / 318.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.0082/0.284, allocations: 3.67 MB / 402.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.284, allocations: 9.875 kB / 402.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005567/0.2846, allocations: 456.4 kB / 402.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.2883, allocations: 0.8102 MB / 403.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.2915, allocations: 2.29 MB / 405.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.2916, allocations: 240.9 kB / 405.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.2921, allocations: 311.9 kB / 406.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006157/0.2982, allocations: 4.236 MB / 410.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-05/0.2983, allocations: 3.906 kB / 410.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.2986, allocations: 130.1 kB / 410.5 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.2987, allocations: 150.2 kB / 410.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/0.3041, allocations: 3.628 MB / 414.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.3201, allocations: 13.33 MB / 427.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/0.3268, allocations: 7.19 MB / 434.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/0.3299, allocations: 1.574 MB / 436.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007796/0.3377, allocations: 4.219 MB / 440.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.3378, allocations: 51.56 kB / 440.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.168e-06/0.3378, allocations: 0 / 440.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01228/0.3501, allocations: 5.623 MB / 446.3 MB, free: 88 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3502, allocations: 64.41 kB / 446.4 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/0.3536, allocations: 1.726 MB / 448.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.3538, allocations: 45.7 kB / 448.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.3549, allocations: 1.412 MB / 449.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.3554, allocations: 433.2 kB / 450 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.3556, allocations: 129.6 kB / 450.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3557, allocations: 301.1 kB / 450.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.357, allocations: 0.6714 MB / 451.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3587, allocations: 1.136 MB / 452.2 MB, free: 9.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.3615, allocations: 1.914 MB / 454.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.3616, allocations: 4 kB / 454.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004314/0.3659, allocations: 2.421 MB / 456.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.3659, allocations: 19.97 kB / 456.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.366, allocations: 12 kB / 456.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008209/0.3668, allocations: 319.2 kB / 456.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.3681, allocations: 351.4 kB / 457.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/0.3739, allocations: 6.114 MB / 463.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.3758, allocations: 83.86 kB / 463.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.376, allocations: 64 kB / 463.5 MB, free: 14 MB / 382.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.002161/0.3782, allocations: 1.013 MB / 464.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.3787, allocations: 181.8 kB / 464.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.3829, allocations: 2.225 MB / 466.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3829, allocations: 15.94 kB / 466.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.383, allocations: 8 kB / 466.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.383, allocations: 11.97 kB / 466.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/0.3913, allocations: 4.966 MB / 471.9 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3914, allocations: 4 kB / 471.9 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.3921, allocations: 163.8 kB / 472.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.3935, allocations: 0.4919 MB / 472.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.3936, allocations: 35.98 kB / 472.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009461/0.4031, allocations: 10.54 MB / 483.1 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.4031, allocations: 12.16 kB / 483.1 MB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.4078, allocations: 3.122 MB / 486.3 MB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008331/0.4086, allocations: 406.8 kB / 486.7 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/0.409, allocations: 35.98 kB / 486.7 MB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009867/0.41, allocations: 71.89 kB / 486.8 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.4102, allocations: 96.86 kB / 486.9 MB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/0.4103, allocations: 39.92 kB / 486.9 MB, free: 5.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.4122, allocations: 1.183 MB / 488.1 MB, free: 4.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4122, allocations: 0 / 488.1 MB, free: 4.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001983/0.4142, allocations: 0.5548 MB / 488.6 MB, free: 3.891 MB / 398.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.004837/0.419, allocations: 3.756 MB / 492.4 MB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.4221, allocations: 2.142 MB / 494.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4222, allocations: 0 / 494.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.4242, allocations: 1.566 MB / 496.1 MB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.4267, allocations: 497.2 kB / 496.6 MB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03632/0.4631, allocations: 22.69 MB / 0.5071 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.4654, allocations: 2.293 MB / 0.5093 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.4667, allocations: 387.8 kB / 0.5097 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.4681, allocations: 1.111 MB / 0.5108 GB, free: 15.63 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4681, allocations: 3.938 kB / 0.5108 GB, free: 15.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/0.6815, allocations: 47.89 MB / 0.5576 GB, free: 130.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.6817, allocations: 278.2 kB / 0.5578 GB, free: 130.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.239, allocations: 0 / 0.5578 GB, free: 130.5 MB / 446.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.0.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