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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001536, allocations: 97.17 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 183 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005544/0.0005547, allocations: 16 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01276/0.1269, allocations: 10.27 MB / 338.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009217/0.1361, allocations: 4.062 MB / 342.7 MB, free: 5.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.1387, allocations: 67.69 kB / 342.7 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.1416, allocations: 0.7541 MB / 343.5 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.1467, allocations: 1.106 MB / 344.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.1491, allocations: 0.5847 MB / 345.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006114/0.1552, allocations: 2.687 MB / 347.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/0.1585, allocations: 2.174 MB / 350 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.1609, allocations: 1.203 MB / 351.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.1637, allocations: 1.443 MB / 352.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000621/0.1643, allocations: 200 kB / 352.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.1657, allocations: 371.7 kB / 353.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006672/0.1664, allocations: 0.7086 MB / 353.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.1674, allocations: 0.7187 MB / 354.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.1731, allocations: 5.349 MB / 360 MB, free: 4.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1731, allocations: 0 / 360 MB, free: 4.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1731, allocations: 7.938 kB / 360 MB, free: 4.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001904/0.1733, allocations: 4 kB / 360 MB, free: 4.266 MB / 302.1 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.01175/0.1851, allocations: 3.653 MB / 363.7 MB, free: 0.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.436e-05/0.1852, allocations: 8.031 kB / 363.7 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/0.1915, allocations: 0.8038 MB / 364.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007225/0.1987, allocations: 2.146 MB / 366.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.1991, allocations: 234.2 kB / 366.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.2005, allocations: 307.9 kB / 367.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009652/0.2102, allocations: 4.191 MB / 371.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/0.2103, allocations: 7.953 kB / 371.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.2107, allocations: 124 kB / 371.5 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.2108, allocations: 154.3 kB / 371.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/0.2183, allocations: 3.589 MB / 375.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2357/0.4541, allocations: 13.18 MB / 388.4 MB, free: 42.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005982/0.4602, allocations: 6.914 MB / 395.3 MB, free: 36.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006047/0.4663, allocations: 3.169 MB / 398.5 MB, free: 34.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.4663, allocations: 49.97 kB / 398.5 MB, free: 34.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.188e-06/0.4664, allocations: 0 / 398.5 MB, free: 34.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=135): time 0.01156/0.4779, allocations: 5.789 MB / 404.3 MB, free: 31.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.478, allocations: 68.45 kB / 404.4 MB, free: 30.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.4802, allocations: 1.642 MB / 406 MB, free: 30.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.4804, allocations: 49.67 kB / 406.1 MB, free: 30.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.481, allocations: 1.377 MB / 407.5 MB, free: 28.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.4813, allocations: 475 kB / 407.9 MB, free: 28.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.4814, allocations: 31.88 kB / 408 MB, free: 28.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.4815, allocations: 370.8 kB / 408.3 MB, free: 28.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009972/0.4825, allocations: 0.6878 MB / 409 MB, free: 27.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4836, allocations: 1.131 MB / 410.1 MB, free: 26.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4848, allocations: 0.9004 MB / 411 MB, free: 26.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.4848, allocations: 3.969 kB / 411 MB, free: 26.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003357/0.4882, allocations: 2.398 MB / 413.4 MB, free: 24.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4882, allocations: 11.27 kB / 413.5 MB, free: 24.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4883, allocations: 14.88 kB / 413.5 MB, free: 24.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.4889, allocations: 270.4 kB / 413.7 MB, free: 24.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4902, allocations: 385.1 kB / 414.1 MB, free: 24.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.4944, allocations: 5.757 MB / 419.9 MB, free: 19.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.4962, allocations: 71.88 kB / 419.9 MB, free: 19.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.4963, allocations: 71.98 kB / 420 MB, free: 19.13 MB / 318.1 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.001957/0.4983, allocations: 1.001 MB / 421 MB, free: 18.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.4986, allocations: 181.8 kB / 421.2 MB, free: 17.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.5019, allocations: 2.272 MB / 423.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5019, allocations: 16 kB / 423.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5019, allocations: 4 kB / 423.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.502, allocations: 3.984 kB / 423.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/0.51, allocations: 5.11 MB / 428.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.5101, allocations: 4 kB / 428.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.5108, allocations: 196 kB / 428.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009629/0.5118, allocations: 447.8 kB / 429.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.5119, allocations: 35.98 kB / 429.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007823/0.5197, allocations: 10.2 MB / 439.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5198, allocations: 192 / 439.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.5254, allocations: 3.347 MB / 442.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.5266, allocations: 418.7 kB / 443.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.5268, allocations: 32.12 kB / 443.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.5277, allocations: 87.88 kB / 443.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.528, allocations: 97.12 kB / 443.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.5281, allocations: 43.98 kB / 443.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001931/0.5301, allocations: 1.119 MB / 444.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5301, allocations: 8 kB / 444.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002498/0.5326, allocations: 0.543 MB / 445.1 MB, free: 8.98 MB / 334.1 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.000374/0.533, allocations: 164 kB / 445.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003705/0.5367, allocations: 2.18 MB / 447.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5367, allocations: 4 kB / 447.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.5393, allocations: 1.597 MB / 449.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.5417, allocations: 481.9 kB / 449.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5525, allocations: 6.737 MB / 456.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.5546, allocations: 2.344 MB / 458.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001629/0.5563, allocations: 391.9 kB / 459 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.5566, allocations: 127.4 kB / 459.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 1.754e-06/0.5566, allocations: 0 / 459.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Templates: time 0.04886/0.6055, allocations: 25.38 MB / 484.5 MB, free: 1.367 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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