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.002314/0.002313, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.002568/0.002568, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.928/1.928, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001315/0.001315, allocations: 51.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 46.61 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.2801/0.4054, allocations: 8.795 MB / 383.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007536/0.413, allocations: 2.887 MB / 386.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.4151, allocations: 40.53 kB / 386.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.4173, allocations: 0.5964 MB / 387.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.4212, allocations: 0.6973 MB / 388.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4229, allocations: 329.6 kB / 388.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004623/0.4276, allocations: 2.237 MB / 390.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.4308, allocations: 1.697 MB / 392.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.4338, allocations: 1.019 MB / 393.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.4375, allocations: 1.284 MB / 394.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.4387, allocations: 269.3 kB / 395 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.4403, allocations: 356.7 kB / 395.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.4414, allocations: 0.7621 MB / 396.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.4443, allocations: 1.207 MB / 397.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006187/0.4505, allocations: 3.528 MB / 400.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4505, allocations: 0 / 400.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4506, allocations: 1.375 kB / 400.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.4507, allocations: 0 / 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.008231/0.459, allocations: 2.484 MB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.074e-05/0.459, allocations: 9.344 kB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.4602, allocations: 250.1 kB / 403.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.463, allocations: 1.222 MB / 404.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.4632, allocations: 139.5 kB / 404.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.4635, allocations: 190 kB / 405.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/0.4692, allocations: 2.367 MB / 407.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/0.4693, allocations: 14.09 kB / 407.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.4696, allocations: 79.94 kB / 407.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.4697, allocations: 96.38 kB / 407.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.4746, allocations: 1.955 MB / 409.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.4903, allocations: 7.056 MB / 416.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.4925, allocations: 1.28 MB / 418 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4941, allocations: 0.8542 MB / 418.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.4944, allocations: 131.6 kB / 418.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.4945, allocations: 43.56 kB / 419 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.4945, allocations: 0 / 419 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.0145/0.509, allocations: 5.897 MB / 424.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.5091, allocations: 60.41 kB / 424.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.5114, allocations: 1.215 MB / 426.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.5116, allocations: 49.7 kB / 426.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.5122, allocations: 0.8612 MB / 427.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.5126, allocations: 366.8 kB / 427.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.513, allocations: 218.8 kB / 427.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5131, allocations: 361.9 kB / 428 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.5141, allocations: 0.6116 MB / 428.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.5153, allocations: 0.9196 MB / 429.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.5176, allocations: 1.64 MB / 431.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.5177, allocations: 7.938 kB / 431.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003999/0.5217, allocations: 2.223 MB / 433.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.5217, allocations: 8 kB / 433.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.5217, allocations: 13.12 kB / 433.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.5229, allocations: 476.2 kB / 433.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.524, allocations: 271.6 kB / 434.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007335/0.5313, allocations: 7.013 MB / 441.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.5329, allocations: 87.84 kB / 441.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.533, allocations: 44.16 kB / 441.3 MB, free: 12.12 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.001364/0.5344, allocations: 0.6106 MB / 441.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.5348, allocations: 138.2 kB / 442 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.5384, allocations: 2.012 MB / 444 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5385, allocations: 16 kB / 444.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.5385, allocations: 4 kB / 444.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5385, allocations: 3.984 kB / 444.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007604/0.5461, allocations: 4.216 MB / 448.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5462, allocations: 4 kB / 448.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.5469, allocations: 171.8 kB / 448.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.5484, allocations: 0.5275 MB / 449 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.5485, allocations: 35.97 kB / 449 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009059/0.5576, allocations: 8.601 MB / 457.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.5577, allocations: 4 kB / 457.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/0.5632, allocations: 2.953 MB / 460.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.5645, allocations: 351.2 kB / 460.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.5647, allocations: 27.98 kB / 460.9 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/0.5656, allocations: 75.86 kB / 461 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/0.5659, allocations: 96.75 kB / 461.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/0.566, allocations: 36 kB / 461.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.5675, allocations: 0.842 MB / 462 MB, free: 6.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5675, allocations: 0 / 462 MB, free: 6.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001934/0.5695, allocations: 404 kB / 462.4 MB, free: 6.129 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.0004392/0.5699, allocations: 191.9 kB / 462.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003969/0.5739, allocations: 2.154 MB / 464.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.574, allocations: 192 / 464.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.5764, allocations: 1.483 MB / 466.2 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.5788, allocations: 389.8 kB / 466.6 MB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/0.5875, allocations: 3.914 MB / 470.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.5901, allocations: 1.634 MB / 472.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001554/0.5917, allocations: 295.8 kB / 472.4 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.592, allocations: 95.42 kB / 472.5 MB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.565e-06/0.592, allocations: 7.938 kB / 472.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of Templates: time 0.04486/0.6369, allocations: 22.64 MB / 495.2 MB, free: 5.023 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