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.001571/0.001571, allocations: 109.4 kB / 17.73 MB, free: 5.34 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.002213/0.002213, allocations: 184.1 kB / 18.66 MB, free: 4.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.898/1.898, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.00137/0.00137, allocations: 47.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.272/0.406, allocations: 8.798 MB / 383.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00721/0.4133, allocations: 2.894 MB / 386.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.4155, allocations: 36.53 kB / 386.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.4184, allocations: 0.5988 MB / 387.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.4232, allocations: 0.6926 MB / 388.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.4247, allocations: 330.6 kB / 388.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005111/0.4298, allocations: 2.239 MB / 390.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.4327, allocations: 1.703 MB / 392.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.4352, allocations: 1.007 MB / 393.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.4381, allocations: 1.287 MB / 394.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006859/0.4388, allocations: 268.3 kB / 395 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.4403, allocations: 354.9 kB / 395.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009564/0.4413, allocations: 0.7669 MB / 396.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002622/0.4439, allocations: 1.203 MB / 397.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.4502, allocations: 3.537 MB / 400.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4502, allocations: 0 / 400.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4502, allocations: 0 / 400.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.4504, allocations: 1.438 kB / 400.8 MB, free: 0.5469 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.008905/0.4593, allocations: 2.539 MB / 403.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4593, allocations: 12.78 kB / 403.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.4605, allocations: 262.8 kB / 403.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.4634, allocations: 1.232 MB / 404.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.4635, allocations: 132.4 kB / 405 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.4639, allocations: 186.8 kB / 405.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.469, allocations: 2.367 MB / 407.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.4691, allocations: 11.25 kB / 407.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.4693, allocations: 71.41 kB / 407.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.4694, allocations: 93.61 kB / 407.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.4739, allocations: 1.969 MB / 409.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.4896, allocations: 7.077 MB / 416.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.492, allocations: 1.276 MB / 418.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.4937, allocations: 0.8542 MB / 418.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.494, allocations: 122 kB / 419 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.4941, allocations: 51.48 kB / 419.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 4.028e-06/0.4941, allocations: 0 / 419.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01502/0.5091, allocations: 5.932 MB / 425 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.5093, allocations: 64.34 kB / 425.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.5118, allocations: 1.211 MB / 426.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.512, allocations: 41.7 kB / 426.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008478/0.5129, allocations: 0.8947 MB / 427.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000453/0.5133, allocations: 384.8 kB / 427.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.5138, allocations: 218.9 kB / 427.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.514, allocations: 353.9 kB / 428.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.5151, allocations: 0.616 MB / 428.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.5163, allocations: 0.9158 MB / 429.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.5188, allocations: 1.644 MB / 431.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5189, allocations: 4 kB / 431.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004073/0.5229, allocations: 2.236 MB / 433.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.523, allocations: 8 kB / 433.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.523, allocations: 8.562 kB / 433.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.5242, allocations: 488.1 kB / 434.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5253, allocations: 275.6 kB / 434.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.5322, allocations: 7.01 MB / 441.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.5338, allocations: 83.88 kB / 441.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5339, allocations: 51.98 kB / 441.5 MB, free: 11.97 MB / 366.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.001372/0.5353, allocations: 0.6105 MB / 442.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.5357, allocations: 143.1 kB / 442.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.5395, allocations: 2.016 MB / 444.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5396, allocations: 16 kB / 444.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.5396, allocations: 7.938 kB / 444.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.5396, allocations: 7.969 kB / 444.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007624/0.5472, allocations: 4.209 MB / 448.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5473, allocations: 4 kB / 448.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.548, allocations: 175.8 kB / 448.7 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.5493, allocations: 0.524 MB / 449.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.5494, allocations: 35.98 kB / 449.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00865/0.5581, allocations: 8.605 MB / 457.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.5581, allocations: 7.938 kB / 457.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.5637, allocations: 2.966 MB / 460.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.5647, allocations: 352.1 kB / 461.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004857/0.5652, allocations: 28 kB / 461.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5664, allocations: 67.92 kB / 461.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.5668, allocations: 96.75 kB / 461.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/0.5669, allocations: 35.98 kB / 461.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001961/0.5688, allocations: 0.8343 MB / 462.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5688, allocations: 3.938 kB / 462.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002515/0.5714, allocations: 411.9 kB / 462.6 MB, free: 5.945 MB / 382.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.0005383/0.5719, allocations: 179.8 kB / 462.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004346/0.5763, allocations: 2.162 MB / 464.9 MB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.5763, allocations: 4.188 kB / 464.9 MB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.579, allocations: 1.479 MB / 466.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/0.5823, allocations: 393.4 kB / 466.8 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.5923, allocations: 3.99 MB / 470.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.5951, allocations: 1.642 MB / 472.4 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00143/0.5965, allocations: 291.8 kB / 472.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.5971, allocations: 95.42 kB / 472.8 MB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 3.446e-06/0.5971, allocations: 4 kB / 472.8 MB, free: 11.44 MB / 398.1 MB Notification: Performance of Templates: time 0.04647/0.6436, allocations: 22.64 MB / 495.5 MB, free: 4.762 MB / 414.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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