Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 98.11 kB / 16.94 MB, free: 6.441 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.001708/0.001708, allocations: 184 kB / 17.83 MB, free: 6.004 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.872/1.872, 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.0005265/0.0005268, allocations: 12 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01254/0.1383, allocations: 7.115 MB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.1464, allocations: 2.769 MB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.1486, allocations: 39.81 kB / 338.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.1509, allocations: 0.5092 MB / 338.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.1542, allocations: 0.5881 MB / 339.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1555, allocations: 207.7 kB / 339.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.1593, allocations: 1.466 MB / 341 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.1616, allocations: 1.18 MB / 342.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1633, allocations: 0.7122 MB / 342.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.1654, allocations: 0.9184 MB / 343.8 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006403/0.166, allocations: 116 kB / 343.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1672, allocations: 179.9 kB / 344.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009144/0.1681, allocations: 0.5492 MB / 344.7 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.1688, allocations: 428.6 kB / 345.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.172, allocations: 2.801 MB / 347.9 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.172, allocations: 0 / 347.9 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.172, allocations: 0 / 347.9 MB, free: 444 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.1721, allocations: 0 / 347.9 MB, free: 444 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004623/0.1768, allocations: 2.119 MB / 350 MB, free: 14.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1768, allocations: 8.031 kB / 350 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.1775, allocations: 253.2 kB / 350.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1797, allocations: 1.196 MB / 351.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1798, allocations: 139.5 kB / 351.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.1801, allocations: 183.9 kB / 351.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/0.1841, allocations: 2.351 MB / 354.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.1842, allocations: 0 / 354.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.1843, allocations: 75.98 kB / 354.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.1844, allocations: 99.45 kB / 354.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003612/0.1881, allocations: 1.966 MB / 356.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.2, allocations: 7.137 MB / 363.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.2019, allocations: 1.28 MB / 364.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.2022, allocations: 122.1 kB / 364.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2023, allocations: 39.56 kB / 364.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.637e-06/0.2023, allocations: 0 / 364.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.01662/0.2189, allocations: 6.979 MB / 371.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.2191, allocations: 64.34 kB / 371.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.2213, allocations: 1.172 MB / 373 MB, free: 6.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2214, allocations: 41.7 kB / 373.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.2224, allocations: 0.8575 MB / 373.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.2229, allocations: 386.5 kB / 374.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.223, allocations: 24 kB / 374.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2231, allocations: 357.9 kB / 374.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.2243, allocations: 0.6584 MB / 375.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.2259, allocations: 0.958 MB / 376.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.2275, allocations: 0.8033 MB / 377.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.2275, allocations: 0 / 377.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005046/0.2326, allocations: 2.35 MB / 379.5 MB, free: 76 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.2326, allocations: 8 kB / 379.5 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.2327, allocations: 12 kB / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2636/0.4962, allocations: 0.5977 MB / 380.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4976, allocations: 276.2 kB / 380.4 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009015/0.5066, allocations: 6.412 MB / 386.8 MB, free: 47.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.5082, allocations: 89.83 kB / 386.9 MB, free: 47.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.5084, allocations: 47.88 kB / 386.9 MB, free: 47.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001583/0.51, allocations: 0.5975 MB / 387.5 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.5104, allocations: 138.6 kB / 387.6 MB, free: 46.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.515, allocations: 2.173 MB / 389.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.515, allocations: 11.25 kB / 389.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.5151, allocations: 4.625 kB / 389.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.5151, allocations: 5.719 kB / 389.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.5256, allocations: 4.284 MB / 394.1 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/0.5257, allocations: 2.5 kB / 394.1 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/0.5266, allocations: 171 kB / 394.3 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.5286, allocations: 0.6562 MB / 394.9 MB, free: 44.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5288, allocations: 31.59 kB / 395 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00868/0.5375, allocations: 7.919 MB / 402.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.5375, allocations: 11.42 kB / 402.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.543, allocations: 3.216 MB / 406.1 MB, free: 36.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.5441, allocations: 351.2 kB / 406.5 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/0.5446, allocations: 27.98 kB / 406.5 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/0.5456, allocations: 84.78 kB / 406.6 MB, free: 35.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.5459, allocations: 88.81 kB / 406.7 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.546, allocations: 31.98 kB / 406.7 MB, free: 35.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001727/0.5477, allocations: 0.7952 MB / 407.5 MB, free: 34.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5477, allocations: 0 / 407.5 MB, free: 34.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002455/0.5502, allocations: 428 kB / 407.9 MB, free: 34.34 MB / 318.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.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (83): * 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): 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 {(5,84.0%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005097/0.5507, allocations: 146.3 kB / 408 MB, free: 34.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004267/0.555, allocations: 2.234 MB / 410.3 MB, free: 31.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.555, allocations: 0 / 410.3 MB, free: 31.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.5573, allocations: 1.494 MB / 411.8 MB, free: 30.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.5595, allocations: 345.2 kB / 412.1 MB, free: 30.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009344/0.5688, allocations: 4.687 MB / 416.8 MB, free: 25.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.571, allocations: 1.672 MB / 418.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00126/0.5723, allocations: 291.8 kB / 418.7 MB, free: 23.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.5727, allocations: 96.19 kB / 418.8 MB, free: 23.19 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5727, allocations: 0 / 418.8 MB, free: 23.19 MB / 318.1 MB Notification: Performance of Templates: time 0.04057/0.6133, allocations: 21.45 MB / 440.3 MB, free: 1.738 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches