Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 176.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007186/0.0007186, allocations: 94.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002922, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1795, allocations: 47.57 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.008775/0.1883, allocations: 11.25 MB / 386.4 MB, free: 36.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.1952, allocations: 3.97 MB / 390.4 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1964, allocations: 65.94 kB / 390.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.1979, allocations: 0.7268 MB / 391.2 MB, free: 32.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2, allocations: 1.041 MB / 392.2 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2012, allocations: 0.5957 MB / 392.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002894/0.2041, allocations: 3.927 MB / 396.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.2062, allocations: 2.617 MB / 399.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.2074, allocations: 1.241 MB / 400.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.2085, allocations: 1.595 MB / 402.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.2088, allocations: 200 kB / 402.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.2096, allocations: 407.7 kB / 402.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.21, allocations: 0.7395 MB / 403.6 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.211, allocations: 1.635 MB / 405.2 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.2139, allocations: 5.399 MB / 410.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2139, allocations: 0 / 410.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2139, allocations: 0 / 410.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.49e-05/0.2139, allocations: 0 / 410.6 MB, free: 13.14 MB / 298.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.00682/0.2207, allocations: 3.649 MB / 414.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2208, allocations: 12.02 kB / 414.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000461/0.2213, allocations: 455.1 kB / 414.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.2247, allocations: 0.8047 MB / 415.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.2273, allocations: 2.177 MB / 417.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2274, allocations: 238.4 kB / 417.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.2278, allocations: 307.9 kB / 418.2 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005412/0.2332, allocations: 4.207 MB / 422.4 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.2333, allocations: 0 / 422.4 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.2335, allocations: 136 kB / 422.5 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-05/0.2336, allocations: 150.3 kB / 422.7 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.2391, allocations: 3.597 MB / 426.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.2564, allocations: 13.26 MB / 439.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006211/0.2627, allocations: 6.887 MB / 446.4 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.2648, allocations: 1.394 MB / 447.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005404/0.2702, allocations: 3.734 MB / 451.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2703, allocations: 43.56 kB / 451.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 2.355e-06/0.2703, allocations: 0 / 451.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.009298/0.2796, allocations: 5.419 MB / 457 MB, free: 12.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.2797, allocations: 64.41 kB / 457.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.2819, allocations: 1.694 MB / 458.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.282, allocations: 49.7 kB / 458.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008132/0.2829, allocations: 1.391 MB / 460.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.2831, allocations: 433.8 kB / 460.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.2832, allocations: 32 kB / 460.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2834, allocations: 373.8 kB / 461 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009944/0.2844, allocations: 0.6403 MB / 461.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.2856, allocations: 1.122 MB / 462.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.288, allocations: 1.871 MB / 464.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.288, allocations: 8 kB / 464.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003408/0.2914, allocations: 2.331 MB / 467 MB, free: 2.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.2915, allocations: 15.94 kB / 467 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2915, allocations: 19.94 kB / 467 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/0.2921, allocations: 261.5 kB / 467.3 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2934, allocations: 363.4 kB / 467.7 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.298, allocations: 5.696 MB / 473.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.299, allocations: 75.89 kB / 473.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.2991, allocations: 68 kB / 473.5 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * 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%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001468/0.3006, allocations: 1.001 MB / 474.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.3008, allocations: 181.8 kB / 474.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.3044, allocations: 2.131 MB / 476.8 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3044, allocations: 12 kB / 476.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3044, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.3044, allocations: 11.92 kB / 476.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/0.3113, allocations: 4.827 MB / 481.7 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3113, allocations: 7.984 kB / 481.7 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/0.312, allocations: 171.8 kB / 481.8 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.3131, allocations: 452.1 kB / 482.3 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/0.3132, allocations: 39.92 kB / 482.3 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008928/0.3221, allocations: 10.07 MB / 492.4 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3222, allocations: 0 / 492.4 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.3266, allocations: 3.011 MB / 495.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/0.3274, allocations: 410.7 kB / 495.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.3276, allocations: 35.98 kB / 495.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/0.3284, allocations: 71.95 kB / 495.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.3287, allocations: 96.8 kB / 496 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.3288, allocations: 39.98 kB / 496 MB, free: 4.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.3304, allocations: 1.158 MB / 497.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3304, allocations: 0 / 497.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001651/0.332, allocations: 0.5391 MB / 497.7 MB, free: 2.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 81 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004669/0.3367, allocations: 3.622 MB / 0.4896 GB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.3397, allocations: 2.085 MB / 0.4916 GB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3397, allocations: 0 / 0.4916 GB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.3417, allocations: 1.538 MB / 0.4931 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.344, allocations: 491 kB / 0.4936 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.151/0.495, allocations: 15.63 MB / 0.5089 GB, free: 123.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.4966, allocations: 2.228 MB / 0.5111 GB, free: 122.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.4978, allocations: 1.113 MB / 0.5121 GB, free: 121.6 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4978, allocations: 1.594 kB / 0.5121 GB, free: 121.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.904/6.402, allocations: 119.5 MB / 0.6289 GB, free: 7.184 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches