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.00154/0.00154, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00109/0.00109, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.103e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09865, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5181/0.6168, allocations: 108 MB / 477.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.6172, allocations: 87.75 kB / 477.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6086/1.226, allocations: 79.45 MB / 0.5436 GB, free: 89.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.226, allocations: 0 / 0.5436 GB, free: 89.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003489/1.226, allocations: 77.92 kB / 0.5437 GB, free: 89.28 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.01421/1.24, allocations: 3.163 MB / 0.5468 GB, free: 88.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.241, allocations: 12.72 kB / 0.5468 GB, free: 88.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/1.247, allocations: 0.717 MB / 0.5475 GB, free: 87.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.26, allocations: 3.278 MB / 0.5507 GB, free: 87.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/1.26, allocations: 237.7 kB / 0.5509 GB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/1.261, allocations: 310.7 kB / 0.5512 GB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/1.274, allocations: 4.052 MB / 0.5552 GB, free: 87.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/1.274, allocations: 10.69 kB / 0.5552 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006421/1.275, allocations: 133.9 kB / 0.5553 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/1.275, allocations: 150.1 kB / 0.5554 GB, free: 87.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/1.286, allocations: 3.28 MB / 0.5587 GB, free: 86.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03298/1.319, allocations: 13.22 MB / 0.5716 GB, free: 82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009228/1.328, allocations: 6.817 MB / 0.5782 GB, free: 75.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/1.331, allocations: 1.324 MB / 0.5795 GB, free: 75.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/1.342, allocations: 3.698 MB / 0.5831 GB, free: 73.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.342, allocations: 42.41 kB / 0.5832 GB, free: 73.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.448e-06/1.342, allocations: 0 / 0.5832 GB, free: 73.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.009787/1.352, allocations: 3.814 MB / 0.5869 GB, free: 71.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.352, allocations: 67.69 kB / 0.587 GB, free: 71.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/1.356, allocations: 1.474 MB / 0.5884 GB, free: 70.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002845/1.356, allocations: 44.52 kB / 0.5884 GB, free: 70.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009399/1.357, allocations: 1.358 MB / 0.5898 GB, free: 69.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005245/1.357, allocations: 419.9 kB / 0.5902 GB, free: 69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.358, allocations: 31.53 kB / 0.5902 GB, free: 68.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/1.358, allocations: 374 kB / 0.5906 GB, free: 68.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/1.359, allocations: 0.5956 MB / 0.5911 GB, free: 68.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/1.361, allocations: 1.062 MB / 0.5922 GB, free: 67.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/1.363, allocations: 0.8082 MB / 0.593 GB, free: 67.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/1.363, allocations: 10.88 kB / 0.593 GB, free: 67.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004879/1.368, allocations: 2.098 MB / 0.595 GB, free: 66.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/1.368, allocations: 9.062 kB / 0.595 GB, free: 66.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/1.368, allocations: 15.44 kB / 0.595 GB, free: 66.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.369, allocations: 274 kB / 0.5953 GB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/1.371, allocations: 353.6 kB / 0.5956 GB, free: 66.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006624/1.378, allocations: 5.671 MB / 0.6012 GB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.381, allocations: 80.55 kB / 0.6013 GB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/1.381, allocations: 70.22 kB / 0.6013 GB, free: 61.3 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.0004178/1.381, allocations: 203.8 kB / 0.6015 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005232/1.382, allocations: 181.5 kB / 0.6017 GB, free: 61.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/1.387, allocations: 2.033 MB / 0.6037 GB, free: 60.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.387, allocations: 9.75 kB / 0.6037 GB, free: 60.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.387, allocations: 7.594 kB / 0.6037 GB, free: 60.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/1.387, allocations: 7.891 kB / 0.6037 GB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.399, allocations: 4.7 MB / 0.6083 GB, free: 57.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.399, allocations: 3.656 kB / 0.6083 GB, free: 57.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.4, allocations: 167.7 kB / 0.6085 GB, free: 57.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/1.402, allocations: 440.7 kB / 0.6089 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/1.403, allocations: 41.2 kB / 0.6089 GB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/1.415, allocations: 10.04 MB / 0.6187 GB, free: 49.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.415, allocations: 7.234 kB / 0.6187 GB, free: 49.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/1.421, allocations: 2.963 MB / 0.6216 GB, free: 47.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.423, allocations: 401.9 kB / 0.622 GB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/1.423, allocations: 30.45 kB / 0.622 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.425, allocations: 75.75 kB / 0.6221 GB, free: 47.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.426, allocations: 98.88 kB / 0.6222 GB, free: 47.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.426, allocations: 39.89 kB / 0.6222 GB, free: 46.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002419/1.428, allocations: 1.122 MB / 0.6233 GB, free: 45.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.428, allocations: 0 / 0.6233 GB, free: 45.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00337/1.432, allocations: 0.5777 MB / 0.6239 GB, free: 45.39 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.0009256/1.433, allocations: 401.8 kB / 0.6243 GB, free: 45.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004276/1.437, allocations: 1.964 MB / 0.6262 GB, free: 43.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.437, allocations: 384 / 0.6262 GB, free: 43.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/1.44, allocations: 1.473 MB / 0.6276 GB, free: 41.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/1.444, allocations: 482.7 kB / 0.6281 GB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.455, allocations: 4.423 MB / 0.6324 GB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.457, allocations: 2.282 MB / 0.6346 GB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008087/1.458, allocations: 131.1 kB / 0.6348 GB, free: 35.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/1.458, allocations: 0 / 0.6348 GB, free: 35.43 MB / 410.7 MB Notification: Performance of Templates: time 0.4612/1.919, allocations: 103 MB / 0.7354 GB, free: 90.46 MB / 426.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