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.0009361/0.0009361, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008974/0.0008975, allocations: 86.38 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.311e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08401, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4543, allocations: 107.6 MB / 470.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4546, allocations: 82.58 kB / 470.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.449/0.9036, allocations: 78.43 MB / 0.5363 GB, free: 87.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.9037, allocations: 1.062 kB / 0.5363 GB, free: 87.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000312/0.904, allocations: 77.58 kB / 0.5364 GB, free: 87.17 MB / 410.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.01256/0.9166, allocations: 3.158 MB / 0.5395 GB, free: 86.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.9167, allocations: 8.125 kB / 0.5395 GB, free: 86.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/0.9225, allocations: 0.7207 MB / 0.5402 GB, free: 85.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.9338, allocations: 3.286 MB / 0.5434 GB, free: 85.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.934, allocations: 100.5 kB / 0.5435 GB, free: 85.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.9352, allocations: 191.9 kB / 0.5437 GB, free: 85.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008924/0.9441, allocations: 3.098 MB / 0.5467 GB, free: 85.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009574/0.9537, allocations: 3.61 MB / 0.5502 GB, free: 85.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.282e-05/0.9539, allocations: 7.812 kB / 0.5503 GB, free: 85.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.9542, allocations: 2.438 kB / 0.5503 GB, free: 85.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.9544, allocations: 142.8 kB / 0.5504 GB, free: 85.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.9788, allocations: 12.63 MB / 0.5627 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007451/0.9863, allocations: 6.742 MB / 0.5693 GB, free: 77.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.989, allocations: 1.267 MB / 0.5705 GB, free: 77.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007884/0.9969, allocations: 3.602 MB / 0.5741 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.997, allocations: 48.92 kB / 0.5741 GB, free: 76.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 5.33e-06/0.997, allocations: 0 / 0.5741 GB, free: 76.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.008301/1.005, allocations: 4.001 MB / 0.578 GB, free: 74.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.005, allocations: 63.88 kB / 0.5781 GB, free: 74.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/1.008, allocations: 1.213 MB / 0.5793 GB, free: 73.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/1.008, allocations: 25.7 kB / 0.5793 GB, free: 73.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008104/1.009, allocations: 1.411 MB / 0.5807 GB, free: 72.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.009, allocations: 408.7 kB / 0.5811 GB, free: 72.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/1.009, allocations: 0 / 0.5811 GB, free: 72.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/1.009, allocations: 364.3 kB / 0.5814 GB, free: 71.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/1.01, allocations: 0.5639 MB / 0.5819 GB, free: 71.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00097/1.011, allocations: 1.018 MB / 0.5829 GB, free: 70.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/1.013, allocations: 0.9003 MB / 0.5838 GB, free: 70.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.013, allocations: 3.375 kB / 0.5838 GB, free: 70.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003803/1.017, allocations: 2.172 MB / 0.5859 GB, free: 69.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/1.017, allocations: 13.47 kB / 0.586 GB, free: 69.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/1.017, allocations: 13.09 kB / 0.586 GB, free: 69.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/1.017, allocations: 259.9 kB / 0.5862 GB, free: 69.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.019, allocations: 358.4 kB / 0.5866 GB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/1.023, allocations: 5.456 MB / 0.5919 GB, free: 64.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.024, allocations: 49.08 kB / 0.5919 GB, free: 64.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/1.024, allocations: 69.39 kB / 0.592 GB, free: 64.72 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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.0003695/1.025, allocations: 150.6 kB / 0.5921 GB, free: 64.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/1.025, allocations: 161.1 kB / 0.5923 GB, free: 64.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/1.029, allocations: 2.044 MB / 0.5943 GB, free: 63.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.029, allocations: 11.09 kB / 0.5943 GB, free: 63.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.029, allocations: 7.75 kB / 0.5943 GB, free: 63.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/1.029, allocations: 7.594 kB / 0.5943 GB, free: 63.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008739/1.038, allocations: 4.305 MB / 0.5985 GB, free: 61.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.038, allocations: 3.438 kB / 0.5985 GB, free: 61.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/1.039, allocations: 173.9 kB / 0.5987 GB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/1.04, allocations: 434.8 kB / 0.5991 GB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.04, allocations: 14.84 kB / 0.5991 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007489/1.048, allocations: 9.672 MB / 0.6086 GB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.048, allocations: 7.938 kB / 0.6086 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/1.052, allocations: 2.978 MB / 0.6115 GB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.053, allocations: 379.2 kB / 0.6118 GB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/1.054, allocations: 18.38 kB / 0.6119 GB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.055, allocations: 51.98 kB / 0.6119 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.056, allocations: 104.5 kB / 0.612 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.056, allocations: 37.56 kB / 0.612 GB, free: 51.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002044/1.058, allocations: 0.9009 MB / 0.6129 GB, free: 50.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.058, allocations: 0 / 0.6129 GB, free: 50.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002646/1.061, allocations: 0.4991 MB / 0.6134 GB, free: 50.93 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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.000579/1.061, allocations: 333.3 kB / 0.6137 GB, free: 50.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002841/1.064, allocations: 1.863 MB / 0.6156 GB, free: 49.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.064, allocations: 3.938 kB / 0.6156 GB, free: 49.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.066, allocations: 1.414 MB / 0.6169 GB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.069, allocations: 343.8 kB / 0.6173 GB, free: 48.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/1.078, allocations: 4.335 MB / 0.6215 GB, free: 46.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/1.08, allocations: 2.336 MB / 0.6238 GB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001902/1.082, allocations: 351.5 kB / 0.6241 GB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/1.083, allocations: 115.9 kB / 0.6242 GB, free: 45.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/1.083, allocations: 0 / 0.6242 GB, free: 45.75 MB / 410.7 MB Notification: Performance of Templates: time 0.03949/1.122, allocations: 21.53 MB / 0.6453 GB, free: 33.57 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/jenkins/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