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.001053/0.001053, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.425/1.425, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007717/0.0007716, allocations: 89.3 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2533, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01007/0.2635, allocations: 11.24 MB / 386.3 MB, free: 36.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.2703, allocations: 3.966 MB / 390.3 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.2723, allocations: 62.12 kB / 390.4 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2743, allocations: 0.7218 MB / 391.1 MB, free: 32.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.2773, allocations: 1.049 MB / 392.1 MB, free: 31.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.2791, allocations: 0.5849 MB / 392.7 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.2837, allocations: 3.942 MB / 396.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.2865, allocations: 2.619 MB / 399.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.2885, allocations: 1.237 MB / 400.5 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.291, allocations: 1.599 MB / 402.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005439/0.2915, allocations: 204 kB / 402.3 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.2931, allocations: 403.7 kB / 402.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.2936, allocations: 0.7435 MB / 403.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.2952, allocations: 1.639 MB / 405.1 MB, free: 18.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.2989, allocations: 5.395 MB / 410.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.299, allocations: 4 kB / 410.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.299, allocations: 0 / 410.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001514/0.2991, allocations: 0 / 410.5 MB, free: 13.16 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.00921/0.3084, allocations: 3.649 MB / 414.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.3084, allocations: 8.031 kB / 414.2 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.3124, allocations: 0.8086 MB / 415 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.3161, allocations: 2.177 MB / 417.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.3162, allocations: 234.6 kB / 417.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.3166, allocations: 319.8 kB / 417.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006636/0.3233, allocations: 4.199 MB / 421.9 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.895e-05/0.3233, allocations: 8 kB / 421.9 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.3236, allocations: 124 kB / 422 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.3237, allocations: 154.2 kB / 422.2 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00646/0.3302, allocations: 3.597 MB / 425.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.3532, allocations: 13.25 MB / 439 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/0.3601, allocations: 6.912 MB / 445.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.3624, allocations: 1.379 MB / 447.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006625/0.3691, allocations: 3.734 MB / 451 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.3692, allocations: 51.5 kB / 451.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.356e-06/0.3692, allocations: 4 kB / 451.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01195/0.3811, allocations: 5.4 MB / 456.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3812, allocations: 64.41 kB / 456.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.3845, allocations: 1.698 MB / 458.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.3847, allocations: 49.7 kB / 458.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.3857, allocations: 1.399 MB / 459.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.3861, allocations: 425.8 kB / 460.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.3862, allocations: 32 kB / 460.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3864, allocations: 373.8 kB / 460.5 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3876, allocations: 0.6403 MB / 461.1 MB, free: 8.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.3892, allocations: 1.118 MB / 462.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.3922, allocations: 1.879 MB / 464.1 MB, free: 5.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.3922, allocations: 4 kB / 464.1 MB, free: 5.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004265/0.3965, allocations: 2.331 MB / 466.5 MB, free: 2.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.3965, allocations: 12 kB / 466.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.3966, allocations: 12 kB / 466.5 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/0.3973, allocations: 279.4 kB / 466.8 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.3986, allocations: 363.4 kB / 467.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.4043, allocations: 5.685 MB / 472.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4059, allocations: 80.11 kB / 472.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/0.4061, allocations: 71.92 kB / 473 MB, free: 12.05 MB / 362.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.002437/0.4085, allocations: 1.001 MB / 474 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/0.4092, allocations: 185.7 kB / 474.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.4138, allocations: 2.123 MB / 476.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.4138, allocations: 12 kB / 476.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/0.4138, allocations: 8 kB / 476.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4139, allocations: 7.969 kB / 476.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.4249, allocations: 4.835 MB / 481.1 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.425, allocations: 0 / 481.1 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.4258, allocations: 180 kB / 481.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.4272, allocations: 446.8 kB / 481.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.4273, allocations: 39.92 kB / 481.8 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.4385, allocations: 10.07 MB / 491.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4385, allocations: 4.031 kB / 491.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.4442, allocations: 3.004 MB / 494.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4454, allocations: 410.7 kB / 495.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005931/0.446, allocations: 28 kB / 495.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.4473, allocations: 75.94 kB / 495.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.4476, allocations: 100.9 kB / 495.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.4477, allocations: 39.98 kB / 495.5 MB, free: 4.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002886/0.4506, allocations: 1.166 MB / 496.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4506, allocations: 0 / 496.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002808/0.4534, allocations: 0.5392 MB / 497.2 MB, free: 2.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.0004275/0.4539, allocations: 163.2 kB / 497.4 MB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003876/0.4578, allocations: 2.077 MB / 499.4 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4578, allocations: 384 / 499.4 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.4603, allocations: 1.534 MB / 0.4892 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.4634, allocations: 496.3 kB / 0.4897 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.4758, allocations: 6.628 MB / 0.4962 GB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/0.479, allocations: 2.239 MB / 0.4984 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.4797, allocations: 135.4 kB / 0.4985 GB, free: 5.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4797, allocations: 4 kB / 0.4985 GB, free: 5.328 MB / 394.7 MB Notification: Performance of Templates: time 0.2718/0.7515, allocations: 108.4 MB / 0.6044 GB, free: 26 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/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches