Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_cpp_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_cpp_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/Complex trunk/package.mo): time 0.0009342/0.0009342, allocations: 200.1 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007993/0.0007994, allocations: 104.4 kB / 296.7 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001955/0.0001955, allocations: 4 kB / 356.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1681, allocations: 51.29 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.008037/0.1762, allocations: 11.82 MB / 420 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.1813, allocations: 4.139 MB / 424.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.1823, allocations: 71.75 kB / 424.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.1837, allocations: 0.7379 MB / 424.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.1856, allocations: 1.026 MB / 425.9 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1867, allocations: 0.6163 MB / 426.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.1894, allocations: 4.034 MB / 430.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.1915, allocations: 2.678 MB / 433.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1926, allocations: 1.241 MB / 434.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.1939, allocations: 1.591 MB / 436.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002871/0.1942, allocations: 200 kB / 436.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008365/0.1951, allocations: 431.7 kB / 436.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005539/0.1957, allocations: 0.7318 MB / 437.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.197, allocations: 1.643 MB / 439.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.2009, allocations: 5.442 MB / 444.5 MB, free: 7.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2009, allocations: 0 / 444.5 MB, free: 7.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2009, allocations: 0 / 444.5 MB, free: 7.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.87e-05/0.201, allocations: 0 / 444.5 MB, free: 7.098 MB / 314.7 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.007625/0.2086, allocations: 3.673 MB / 448.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2086, allocations: 16.02 kB / 448.2 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005471/0.2092, allocations: 451.1 kB / 448.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.2128, allocations: 0.8047 MB / 449.5 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.2161, allocations: 2.294 MB / 451.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.2163, allocations: 242.1 kB / 452 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/0.2167, allocations: 311.9 kB / 452.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006323/0.223, allocations: 4.207 MB / 456.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.2231, allocations: 7.938 kB / 456.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.2233, allocations: 120 kB / 456.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.2235, allocations: 154.3 kB / 456.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005516/0.229, allocations: 3.601 MB / 460.4 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01679/0.2458, allocations: 13.34 MB / 473.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005872/0.2517, allocations: 7.172 MB / 480.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.2543, allocations: 1.57 MB / 482.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005835/0.2602, allocations: 4.233 MB / 486.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2602, allocations: 59.48 kB / 486.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 2.705e-06/0.2602, allocations: 4 kB / 486.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.009662/0.2699, allocations: 5.607 MB / 492.4 MB, free: 5.402 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2699, allocations: 64.41 kB / 492.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.272, allocations: 1.703 MB / 494.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.2721, allocations: 49.7 kB / 494.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007885/0.2729, allocations: 1.407 MB / 495.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.2731, allocations: 437.8 kB / 496 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.2732, allocations: 28 kB / 496 MB, free: 1.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2734, allocations: 369.9 kB / 496.4 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/0.2744, allocations: 0.6598 MB / 497.1 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.2756, allocations: 1.125 MB / 498.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.278, allocations: 1.906 MB / 0.4884 GB, free: 13.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.278, allocations: 4 kB / 0.4884 GB, free: 13.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003457/0.2814, allocations: 2.409 MB / 0.4907 GB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2815, allocations: 12.28 kB / 0.4907 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.2815, allocations: 20 kB / 0.4908 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.2822, allocations: 315.2 kB / 0.4911 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.2834, allocations: 351.5 kB / 0.4914 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/0.2886, allocations: 6.118 MB / 0.4974 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.2896, allocations: 84.02 kB / 0.4975 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.2898, allocations: 64 kB / 0.4975 GB, free: 3.41 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001437/0.2912, allocations: 1.001 MB / 0.4985 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.2914, allocations: 181.8 kB / 0.4987 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1502/0.4416, allocations: 2.221 MB / 0.5008 GB, free: 88.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.4417, allocations: 11.97 kB / 0.5008 GB, free: 88.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.4417, allocations: 7.25 kB / 0.5008 GB, free: 88.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.335e-05/0.4418, allocations: 6.797 kB / 0.5009 GB, free: 88.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007458/0.4492, allocations: 4.955 MB / 0.5057 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4493, allocations: 3.594 kB / 0.5057 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006804/0.4499, allocations: 168.7 kB / 0.5059 GB, free: 87.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.451, allocations: 0.4906 MB / 0.5063 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.4511, allocations: 40.7 kB / 0.5064 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007566/0.4587, allocations: 10.52 MB / 0.5167 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4587, allocations: 2.562 kB / 0.5167 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.4628, allocations: 3.115 MB / 0.5197 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.4634, allocations: 415.7 kB / 0.5201 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.4636, allocations: 30.06 kB / 0.5201 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.4644, allocations: 75.92 kB / 0.5202 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.4647, allocations: 96.81 kB / 0.5203 GB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.4647, allocations: 40.39 kB / 0.5203 GB, free: 76.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.4661, allocations: 1.171 MB / 0.5215 GB, free: 76.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4661, allocations: 0 / 0.5215 GB, free: 76.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001474/0.4676, allocations: 0.5531 MB / 0.522 GB, free: 76.27 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003977/0.4715, allocations: 3.736 MB / 0.5257 GB, free: 74.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.474, allocations: 2.138 MB / 0.5277 GB, free: 72.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4741, allocations: 2 kB / 0.5277 GB, free: 72.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.4758, allocations: 1.552 MB / 0.5293 GB, free: 70.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.478, allocations: 490.6 kB / 0.5297 GB, free: 70.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.501, allocations: 15.87 MB / 0.5452 GB, free: 53.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.5023, allocations: 2.242 MB / 0.5474 GB, free: 51.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.5034, allocations: 1.116 MB / 0.5485 GB, free: 50.12 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5034, allocations: 0 / 0.5485 GB, free: 50.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.073/6.576, allocations: 120.3 MB / 0.666 GB, free: 9.703 MB / 458.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches