Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001095/0.001095, allocations: 183.4 kB / 18.04 MB, free: 3.543 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.292/1.292, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007314/0.0007312, allocations: 82.36 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 15.98 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3041, allocations: 108.4 MB / 485.4 MB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.3044, allocations: 87.95 kB / 485.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3317/0.6361, allocations: 79.26 MB / 0.5515 GB, free: 66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6361, allocations: 4 kB / 0.5515 GB, free: 66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002813/0.6364, allocations: 71.94 kB / 0.5516 GB, free: 65.93 MB / 378.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.009881/0.6463, allocations: 3.439 MB / 0.555 GB, free: 62.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6464, allocations: 8.031 kB / 0.555 GB, free: 62.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.6505, allocations: 0.7267 MB / 0.5557 GB, free: 61.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005934/0.6564, allocations: 2.653 MB / 0.5583 GB, free: 58.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.6567, allocations: 238.6 kB / 0.5585 GB, free: 58.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.6578, allocations: 312.3 kB / 0.5588 GB, free: 58.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009443/0.6672, allocations: 4.167 MB / 0.5629 GB, free: 54.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.6675, allocations: 7.984 kB / 0.5629 GB, free: 54.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000692/0.6682, allocations: 128 kB / 0.563 GB, free: 54.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.6683, allocations: 150.2 kB / 0.5631 GB, free: 53.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007059/0.6754, allocations: 3.406 MB / 0.5665 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.697, allocations: 13.25 MB / 0.5794 GB, free: 36.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005411/0.7024, allocations: 6.913 MB / 0.5862 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/0.7045, allocations: 1.374 MB / 0.5875 GB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006061/0.7106, allocations: 3.738 MB / 0.5912 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.7107, allocations: 43.56 kB / 0.5912 GB, free: 23.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.246e-06/0.7107, allocations: 0 / 0.5912 GB, free: 23.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.01033/0.721, allocations: 5.396 MB / 0.5965 GB, free: 18.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.7211, allocations: 72.39 kB / 0.5965 GB, free: 18.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.7237, allocations: 1.674 MB / 0.5982 GB, free: 16.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.7239, allocations: 45.7 kB / 0.5982 GB, free: 16.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/0.7245, allocations: 1.411 MB / 0.5996 GB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.7248, allocations: 429.8 kB / 0.6 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.7249, allocations: 35.94 kB / 0.6 GB, free: 14.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.725, allocations: 369.9 kB / 0.6004 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/0.726, allocations: 0.6441 MB / 0.601 GB, free: 13.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.7272, allocations: 1.114 MB / 0.6021 GB, free: 12.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.7294, allocations: 1.875 MB / 0.6039 GB, free: 10.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.7295, allocations: 4 kB / 0.6039 GB, free: 10.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003405/0.7329, allocations: 2.323 MB / 0.6062 GB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.7329, allocations: 12 kB / 0.6062 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.7329, allocations: 12 kB / 0.6062 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.7336, allocations: 271.6 kB / 0.6065 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.7349, allocations: 363.4 kB / 0.6068 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.7395, allocations: 5.692 MB / 0.6124 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.7411, allocations: 84.02 kB / 0.6125 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.7413, allocations: 64 kB / 0.6125 GB, free: 0.8242 MB / 378.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.00202/0.7433, allocations: 1.009 MB / 0.6135 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/0.7438, allocations: 181.8 kB / 0.6137 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.7477, allocations: 2.123 MB / 0.6158 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7478, allocations: 16 kB / 0.6158 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.7478, allocations: 4 kB / 0.6158 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7478, allocations: 7.984 kB / 0.6158 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008713/0.7565, allocations: 4.815 MB / 0.6205 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.7566, allocations: 7.984 kB / 0.6205 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.7573, allocations: 168 kB / 0.6207 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.7586, allocations: 451.8 kB / 0.6211 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7587, allocations: 35.98 kB / 0.6211 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009587/0.7683, allocations: 10.08 MB / 0.631 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7684, allocations: 0 / 0.631 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/0.7735, allocations: 3.011 MB / 0.6339 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.7746, allocations: 406.8 kB / 0.6343 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000529/0.7752, allocations: 32 kB / 0.6343 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.7763, allocations: 79.88 kB / 0.6344 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/0.7766, allocations: 96.8 kB / 0.6345 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7768, allocations: 39.98 kB / 0.6345 GB, free: 9.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002277/0.7791, allocations: 1.146 MB / 0.6357 GB, free: 8.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7791, allocations: 0 / 0.6357 GB, free: 8.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002406/0.7815, allocations: 0.5743 MB / 0.6362 GB, free: 7.555 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,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.w) * 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.0005609/0.7821, allocations: 345.3 kB / 0.6365 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.7855, allocations: 2.073 MB / 0.6386 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.7855, allocations: 4 kB / 0.6386 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.7879, allocations: 1.55 MB / 0.6401 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.7909, allocations: 494 kB / 0.6406 GB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1817/0.9726, allocations: 6.641 MB / 0.647 GB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.9744, allocations: 2.28 MB / 0.6493 GB, free: 91.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001512/0.976, allocations: 391.1 kB / 0.6496 GB, free: 91.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.9763, allocations: 116.4 kB / 0.6498 GB, free: 91.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.9763, allocations: 0 / 0.6498 GB, free: 91.64 MB / 410.7 MB Notification: Performance of Templates: time 0.06004/1.036, allocations: 28.31 MB / 0.6774 GB, free: 90.21 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches