Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 176.8 kB / 16.41 MB, free: 5.727 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.477/1.477, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007192/0.0007193, allocations: 88.8 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 11.98 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2472, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008238/0.2555, allocations: 7.766 MB / 382.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.261, allocations: 2.706 MB / 385 MB, free: 37.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.2627, allocations: 31.19 kB / 385.1 MB, free: 37.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2646, allocations: 497.7 kB / 385.6 MB, free: 36.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.267, allocations: 0.5971 MB / 386.1 MB, free: 36.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.268, allocations: 205.6 kB / 386.3 MB, free: 36.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00429/0.2723, allocations: 2.309 MB / 388.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.275, allocations: 1.201 MB / 389.9 MB, free: 33.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.2769, allocations: 0.7743 MB / 390.6 MB, free: 32.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.2794, allocations: 1.066 MB / 391.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006253/0.28, allocations: 116 kB / 391.8 MB, free: 31.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.2814, allocations: 191.8 kB / 392 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.2825, allocations: 0.5763 MB / 392.6 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.2836, allocations: 432.6 kB / 393 MB, free: 30.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.2876, allocations: 2.833 MB / 395.8 MB, free: 27.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2876, allocations: 0 / 395.8 MB, free: 27.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.518e-06/0.2877, allocations: 4 kB / 395.8 MB, free: 27.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001687/0.2878, allocations: 3.938 kB / 395.8 MB, free: 27.47 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007677/0.2955, allocations: 2.142 MB / 398 MB, free: 25.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.2956, allocations: 12.03 kB / 398 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.2971, allocations: 245.3 kB / 398.2 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.3008, allocations: 1.172 MB / 399.4 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.301, allocations: 143.5 kB / 399.5 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000605/0.3016, allocations: 180 kB / 399.7 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007004/0.3086, allocations: 2.359 MB / 402.1 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.499e-05/0.3087, allocations: 7.906 kB / 402.1 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.3091, allocations: 75.98 kB / 402.2 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3093, allocations: 95.45 kB / 402.3 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005687/0.315, allocations: 1.973 MB / 404.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.332, allocations: 7.168 MB / 411.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.3347, allocations: 1.277 MB / 412.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.337, allocations: 0.8853 MB / 413.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.3374, allocations: 122.1 kB / 413.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.3375, allocations: 39.56 kB / 413.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 6.923e-06/0.3375, allocations: 0 / 413.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.0202/0.3577, allocations: 5.999 MB / 419.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3578, allocations: 64.41 kB / 419.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.3607, allocations: 1.203 MB / 421 MB, free: 1.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.3608, allocations: 45.7 kB / 421 MB, free: 1.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006927/0.3616, allocations: 0.8651 MB / 421.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.3619, allocations: 366.7 kB / 422.2 MB, free: 460 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3621, allocations: 24 kB / 422.3 MB, free: 436 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3622, allocations: 357.9 kB / 422.6 MB, free: 72 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.364, allocations: 0.6155 MB / 423.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.3661, allocations: 0.9275 MB / 424.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.3683, allocations: 0.7564 MB / 424.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.3683, allocations: 4 kB / 424.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006689/0.375, allocations: 2.227 MB / 427.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.3751, allocations: 12 kB / 427.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.3751, allocations: 8 kB / 427.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.3771, allocations: 480.1 kB / 427.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.379, allocations: 279.5 kB / 427.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.3896, allocations: 6.431 MB / 434.3 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.3916, allocations: 83.98 kB / 434.4 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.3919, allocations: 55.98 kB / 434.5 MB, free: 3.621 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001951/0.3939, allocations: 0.5949 MB / 435.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/0.3945, allocations: 130.4 kB / 435.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.4007, allocations: 2.039 MB / 437.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.4007, allocations: 8 kB / 437.3 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.4008, allocations: 11.94 kB / 437.3 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.4008, allocations: 7.969 kB / 437.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.4135, allocations: 4.225 MB / 441.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/0.4135, allocations: 4 kB / 441.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.4149, allocations: 188.2 kB / 441.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.4173, allocations: 0.5192 MB / 442.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.4175, allocations: 31.98 kB / 442.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.4303, allocations: 7.898 MB / 450.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-05/0.4303, allocations: 12.19 kB / 450.1 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008443/0.4388, allocations: 2.963 MB / 453.1 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.4401, allocations: 347.4 kB / 453.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000571/0.4407, allocations: 31.98 kB / 453.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.4424, allocations: 79.92 kB / 453.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.4427, allocations: 96.77 kB / 453.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.4429, allocations: 35.98 kB / 453.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002445/0.4454, allocations: 0.8264 MB / 454.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4454, allocations: 0 / 454.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002781/0.4482, allocations: 411.9 kB / 454.9 MB, free: 14.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (89): * Single equations (assignments): 84 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 6,(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.0004953/0.4487, allocations: 147 kB / 455.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005607/0.4543, allocations: 2.166 MB / 457.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4544, allocations: 4.062 kB / 457.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003766/0.4581, allocations: 1.483 MB / 458.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/0.4619, allocations: 379.9 kB / 459.1 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.4734, allocations: 4.734 MB / 463.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.4758, allocations: 1.618 MB / 465.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.4765, allocations: 99.42 kB / 465.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4765, allocations: 0 / 465.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of Templates: time 0.3392/0.8158, allocations: 67.64 MB / 0.5207 GB, free: 87.05 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches