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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003059/0.003065, allocations: 184.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.318/3.318, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001983/0.001983, allocations: 100.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005702/0.0005705, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.5227, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.02398/0.5467, allocations: 10.26 MB / 384.8 MB, free: 37.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.5619, allocations: 4.076 MB / 388.9 MB, free: 34.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/0.566, allocations: 59.75 kB / 388.9 MB, free: 34.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.5714, allocations: 0.7549 MB / 389.7 MB, free: 33.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008169/0.5797, allocations: 1.102 MB / 390.8 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.5841, allocations: 0.5891 MB / 391.4 MB, free: 31.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009826/0.594, allocations: 2.672 MB / 394.1 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007205/0.6013, allocations: 2.179 MB / 396.2 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.6059, allocations: 1.207 MB / 397.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.6108, allocations: 1.443 MB / 398.9 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.6123, allocations: 200 kB / 399.1 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.6155, allocations: 367.8 kB / 399.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.6175, allocations: 0.7008 MB / 400.1 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.6199, allocations: 0.7226 MB / 400.9 MB, free: 22.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.6312, allocations: 5.35 MB / 406.2 MB, free: 17.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6313, allocations: 0 / 406.2 MB, free: 17.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6313, allocations: 0 / 406.2 MB, free: 17.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002191/0.6316, allocations: 4 kB / 406.2 MB, free: 17.07 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.03871/0.6703, allocations: 3.669 MB / 409.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.6704, allocations: 8.031 kB / 409.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04048/0.7109, allocations: 0.8116 MB / 410.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009927/0.7209, allocations: 2.142 MB / 412.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005037/0.7215, allocations: 230.2 kB / 413.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01398/0.7355, allocations: 319.9 kB / 413.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03366/0.7693, allocations: 4.176 MB / 417.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/0.7696, allocations: 7.953 kB / 417.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/0.7712, allocations: 124 kB / 417.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/0.7716, allocations: 158.3 kB / 417.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04292/0.8145, allocations: 3.593 MB / 421.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06833/0.8829, allocations: 13.2 MB / 434.6 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/0.9012, allocations: 6.898 MB / 441.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/0.9162, allocations: 3.184 MB / 444.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/0.9163, allocations: 43.88 kB / 444.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 7.564e-06/0.9163, allocations: 0 / 444.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.03512/0.9515, allocations: 5.783 MB / 450.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.9516, allocations: 64.72 kB / 450.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006596/0.9583, allocations: 1.646 MB / 452.2 MB, free: 1.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/0.9587, allocations: 49.7 kB / 452.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.961, allocations: 1.322 MB / 453.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.9623, allocations: 473.1 kB / 454.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.9626, allocations: 39.94 kB / 454.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003392/0.9629, allocations: 374.8 kB / 454.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/0.9666, allocations: 0.691 MB / 455.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/0.9711, allocations: 1.129 MB / 456.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.9756, allocations: 0.9004 MB / 457.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/0.9757, allocations: 4 kB / 457.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01147/0.9872, allocations: 2.289 MB / 459.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.9873, allocations: 15.98 kB / 459.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.45e-05/0.9874, allocations: 16 kB / 459.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.9893, allocations: 275.5 kB / 459.8 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/0.9942, allocations: 379.4 kB / 460.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/1.008, allocations: 5.756 MB / 465.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/1.011, allocations: 80.08 kB / 466 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/1.012, allocations: 68 kB / 466.1 MB, free: 2.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (188): * Single equations (assignments): 184 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004711/1.017, allocations: 1.001 MB / 467.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008516/1.018, allocations: 185.8 kB / 467.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.029, allocations: 2.272 MB / 469.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/1.03, allocations: 16 kB / 469.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-05/1.03, allocations: 8 kB / 469.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.516e-05/1.03, allocations: 7.969 kB / 469.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02403/1.054, allocations: 5.093 MB / 474.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/1.054, allocations: 4 kB / 474.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.057, allocations: 195.8 kB / 474.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/1.06, allocations: 444.1 kB / 475.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003797/1.061, allocations: 39.98 kB / 475.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02684/1.088, allocations: 10.19 MB / 485.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.088, allocations: 4.031 kB / 485.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.103, allocations: 3.348 MB / 488.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.105, allocations: 418.7 kB / 489.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008454/1.106, allocations: 31.98 kB / 489.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.109, allocations: 83.91 kB / 489.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/1.11, allocations: 101.1 kB / 489.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.11, allocations: 36 kB / 489.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004689/1.115, allocations: 1.123 MB / 490.6 MB, free: 9.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.553e-06/1.115, allocations: 0 / 490.6 MB, free: 9.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005404/1.12, allocations: 0.5469 MB / 491.2 MB, free: 8.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (98): * Single equations (assignments): 93 * 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%) 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.0008489/1.121, allocations: 167.5 kB / 491.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009644/1.131, allocations: 2.179 MB / 493.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.131, allocations: 0 / 493.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006805/1.138, allocations: 1.603 MB / 495.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/1.144, allocations: 494.1 kB / 495.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/1.17, allocations: 6.71 MB / 0.4905 GB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006265/1.176, allocations: 2.29 MB / 0.4928 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.177, allocations: 139.4 kB / 0.4929 GB, free: 10.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/1.177, allocations: 0 / 0.4929 GB, free: 10.85 MB / 394.7 MB Notification: Performance of Templates: time 0.6597/1.837, allocations: 102.2 MB / 0.5928 GB, free: 37.95 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter --alarm=480 -emit_protected > 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