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.00155/0.00155, allocations: 103.8 kB / 17.16 MB, free: 6.32 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.001489/0.001489, allocations: 190 kB / 18.07 MB, free: 5.414 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.859/1.859, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001256/0.001256, allocations: 56.34 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1508, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01138/0.1623, allocations: 8.746 MB / 335.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.1692, allocations: 2.852 MB / 338.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.1709, allocations: 35.81 kB / 338.2 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.173, allocations: 0.5325 MB / 338.8 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.176, allocations: 0.645 MB / 339.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.177, allocations: 287.7 kB / 339.7 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004858/0.1818, allocations: 2.565 MB / 342.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.1846, allocations: 1.406 MB / 343.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.187, allocations: 0.8833 MB / 344.5 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.1896, allocations: 1.238 MB / 345.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004834/0.1901, allocations: 168 kB / 345.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.1912, allocations: 271.8 kB / 346.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.1923, allocations: 0.6659 MB / 346.9 MB, free: 496 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.1945, allocations: 1.1 MB / 348 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.1997, allocations: 3.396 MB / 351.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1998, allocations: 0 / 351.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1998, allocations: 0 / 351.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.1999, allocations: 0 / 351.4 MB, free: 11.97 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00842/0.2083, allocations: 2.493 MB / 353.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.321e-05/0.2084, allocations: 8.031 kB / 353.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2095, allocations: 246.3 kB / 354.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.2129, allocations: 1.22 MB / 355.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.2131, allocations: 139.9 kB / 355.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.2136, allocations: 188 kB / 355.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006405/0.22, allocations: 2.367 MB / 358 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-05/0.2201, allocations: 4 kB / 358 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.2204, allocations: 79.98 kB / 358.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.2205, allocations: 91.5 kB / 358.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005399/0.226, allocations: 1.958 MB / 360.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/0.2433, allocations: 7.152 MB / 367.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.2461, allocations: 1.265 MB / 368.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.2484, allocations: 0.8698 MB / 369.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.2488, allocations: 130 kB / 369.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.2489, allocations: 39.56 kB / 369.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 4.519e-06/0.2489, allocations: 0 / 369.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01637/0.2653, allocations: 5.897 MB / 375.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2654, allocations: 60.41 kB / 375.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.2677, allocations: 1.211 MB / 376.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.2678, allocations: 45.7 kB / 376.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008295/0.2687, allocations: 0.8729 MB / 377.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.2691, allocations: 362.8 kB / 378 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.2695, allocations: 218.8 kB / 378.3 MB, free: 476 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2697, allocations: 357.9 kB / 378.6 MB, free: 112 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2368/0.5064, allocations: 0.6103 MB / 379.2 MB, free: 51.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5078, allocations: 0.9262 MB / 380.1 MB, free: 51.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.5103, allocations: 1.637 MB / 381.8 MB, free: 50.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.5103, allocations: 4.344 kB / 381.8 MB, free: 50.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004807/0.5152, allocations: 2.221 MB / 384 MB, free: 49.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.5152, allocations: 9.406 kB / 384 MB, free: 49.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.5153, allocations: 9.75 kB / 384 MB, free: 49.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.5166, allocations: 473.1 kB / 384.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5178, allocations: 271.5 kB / 384.7 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006806/0.5246, allocations: 6.452 MB / 391.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5261, allocations: 79.5 kB / 391.3 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.5262, allocations: 48.05 kB / 391.3 MB, free: 44.78 MB / 318.1 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 (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001555/0.5278, allocations: 0.5967 MB / 391.9 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.5282, allocations: 138.9 kB / 392.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/0.5325, allocations: 2.018 MB / 394.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5326, allocations: 11.84 kB / 394.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5326, allocations: 3.969 kB / 394.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.5326, allocations: 3.75 kB / 394.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007527/0.5401, allocations: 4.231 MB / 398.3 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5401, allocations: 6.188 kB / 398.3 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.5408, allocations: 179.2 kB / 398.5 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.5421, allocations: 0.5188 MB / 399 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.5422, allocations: 37.92 kB / 399.1 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006444/0.5486, allocations: 7.894 MB / 407 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.5486, allocations: 3.875 kB / 407 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/0.5527, allocations: 2.955 MB / 409.9 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/0.5535, allocations: 347.2 kB / 410.3 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.5537, allocations: 31.98 kB / 410.3 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/0.5545, allocations: 71.92 kB / 410.4 MB, free: 31.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.5548, allocations: 92.75 kB / 410.4 MB, free: 31.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.5549, allocations: 35.98 kB / 410.5 MB, free: 31.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.556, allocations: 0.8377 MB / 411.3 MB, free: 30.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.556, allocations: 4 kB / 411.3 MB, free: 30.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001629/0.5576, allocations: 404 kB / 411.7 MB, free: 30.11 MB / 318.1 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 (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/0.558, allocations: 183.8 kB / 411.9 MB, free: 29.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.5609, allocations: 2.147 MB / 414 MB, free: 27.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5609, allocations: 4 kB / 414 MB, free: 27.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.5627, allocations: 1.484 MB / 415.5 MB, free: 26.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.5644, allocations: 365.4 kB / 415.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.5706, allocations: 4.759 MB / 420.6 MB, free: 20.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.5716, allocations: 1.638 MB / 422.3 MB, free: 19.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009025/0.5725, allocations: 295.8 kB / 422.6 MB, free: 19.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.5728, allocations: 95.42 kB / 422.7 MB, free: 18.94 MB / 318.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5728, allocations: 5.969 kB / 422.7 MB, free: 18.94 MB / 318.1 MB Notification: Performance of Templates: time 0.03521/0.608, allocations: 21.41 MB / 444.1 MB, free: 13.52 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (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) 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