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.001184/0.001185, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001038/0.001038, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001214/0.001214, allocations: 55.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08597, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01354/0.09954, allocations: 12.76 MB / 341.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.1075, allocations: 4.276 MB / 345.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1092, allocations: 71.62 kB / 345.8 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.1116, allocations: 0.9706 MB / 346.8 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.1152, allocations: 1.258 MB / 348.1 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.1172, allocations: 0.8495 MB / 348.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004395/0.1216, allocations: 3.903 MB / 352.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003495/0.1252, allocations: 3.18 MB / 356 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.1277, allocations: 1.826 MB / 357.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.1305, allocations: 2.059 MB / 359.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006057/0.1311, allocations: 0.5 MB / 360.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1323, allocations: 0.6951 MB / 361.1 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008868/0.1332, allocations: 1.114 MB / 362.2 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.1353, allocations: 2.07 MB / 364.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.1405, allocations: 6.582 MB / 370.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1406, allocations: 0 / 370.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1406, allocations: 0 / 370.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.291e-05/0.1406, allocations: 0 / 370.8 MB, free: 9.387 MB / 318.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.009107/0.1498, allocations: 4.296 MB / 375.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1498, allocations: 12.03 kB / 375.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.1539, allocations: 0.8085 MB / 376 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.1577, allocations: 2.232 MB / 378.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.1579, allocations: 238.5 kB / 378.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.1584, allocations: 319.8 kB / 378.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1425/0.3009, allocations: 4.216 MB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/0.301, allocations: 2.109 kB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.3013, allocations: 126.1 kB / 383.1 MB, free: 48.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.3014, allocations: 151.3 kB / 383.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006454/0.3079, allocations: 3.602 MB / 386.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.3255, allocations: 13.02 MB / 399.8 MB, free: 38.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/0.3304, allocations: 6.9 MB / 406.7 MB, free: 31.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.3322, allocations: 1.364 MB / 408.1 MB, free: 31.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00511/0.3373, allocations: 3.712 MB / 411.8 MB, free: 28.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3374, allocations: 47.41 kB / 411.9 MB, free: 28.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.445e-06/0.3374, allocations: 3.469 kB / 411.9 MB, free: 28.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.008933/0.3463, allocations: 5.36 MB / 417.2 MB, free: 23.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3464, allocations: 64.41 kB / 417.3 MB, free: 23.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.3484, allocations: 1.705 MB / 419 MB, free: 21.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.3485, allocations: 49.7 kB / 419.1 MB, free: 21.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.3492, allocations: 1.399 MB / 420.4 MB, free: 20.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.3494, allocations: 432.1 kB / 420.9 MB, free: 19.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.3498, allocations: 283.3 kB / 421.1 MB, free: 19.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.3498, allocations: 305.1 kB / 421.4 MB, free: 19.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.3507, allocations: 0.6403 MB / 422.1 MB, free: 18.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3517, allocations: 1.122 MB / 423.2 MB, free: 17.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.3537, allocations: 1.867 MB / 425.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3537, allocations: 4 kB / 425.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003106/0.3568, allocations: 2.315 MB / 427.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.3569, allocations: 8 kB / 427.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3569, allocations: 20.22 kB / 427.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.3575, allocations: 263.3 kB / 427.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3588, allocations: 363.4 kB / 428 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.3629, allocations: 6.211 MB / 434.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3641, allocations: 67.95 kB / 434.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.3643, allocations: 68 kB / 434.4 MB, free: 5.363 MB / 318.1 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001422/0.3657, allocations: 1.005 MB / 435.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.366, allocations: 185.6 kB / 435.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.3691, allocations: 2.119 MB / 437.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3692, allocations: 12 kB / 437.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.3692, allocations: 8 kB / 437.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3692, allocations: 3.984 kB / 437.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.3768, allocations: 4.816 MB / 442.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.3768, allocations: 4 kB / 442.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.3776, allocations: 167.8 kB / 442.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.3788, allocations: 446.7 kB / 443.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.3789, allocations: 35.98 kB / 443.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.3891, allocations: 11.02 MB / 454.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3891, allocations: 8.109 kB / 454.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/0.394, allocations: 2.988 MB / 457.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.3951, allocations: 413.8 kB / 457.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/0.3955, allocations: 31.98 kB / 457.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.3966, allocations: 64.08 kB / 457.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.3968, allocations: 104.7 kB / 457.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.3969, allocations: 43.98 kB / 457.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002012/0.399, allocations: 1.17 MB / 459 MB, free: 11.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.399, allocations: 0 / 459 MB, free: 11.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002202/0.4012, allocations: 0.5377 MB / 459.5 MB, free: 11.24 MB / 350.1 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003496/0.4015, allocations: 159.2 kB / 459.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.4049, allocations: 2.076 MB / 461.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.405, allocations: 4 kB / 461.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.4074, allocations: 1.525 MB / 463.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.41, allocations: 0.5014 MB / 463.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.4211, allocations: 5.468 MB / 469.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.424, allocations: 2.281 MB / 471.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001423/0.4255, allocations: 383.8 kB / 471.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.4259, allocations: 119.4 kB / 472 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4259, allocations: 4 kB / 472 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Templates: time 0.04731/0.4732, allocations: 27.44 MB / 499.5 MB, free: 3.086 MB / 382.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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