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.001156/0.001156, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001193/0.001193, allocations: 191 kB / 19.29 MB, free: 3.848 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.749/1.749, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001222/0.001223, allocations: 51.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01103/0.1362, allocations: 8.793 MB / 337.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006617/0.1429, allocations: 2.879 MB / 340.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1441, allocations: 39.81 kB / 340.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1459, allocations: 0.6016 MB / 341 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.1482, allocations: 0.7027 MB / 341.7 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.1489, allocations: 331.6 kB / 342.1 MB, free: 6.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.1516, allocations: 2.233 MB / 344.3 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.1538, allocations: 1.714 MB / 346 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.1559, allocations: 1.008 MB / 347 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.158, allocations: 1.281 MB / 348.3 MB, free: 52 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.1585, allocations: 272 kB / 348.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.1593, allocations: 355.8 kB / 348.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008101/0.1602, allocations: 0.7635 MB / 349.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.1617, allocations: 1.21 MB / 350.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.1658, allocations: 3.524 MB / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1658, allocations: 0 / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1659, allocations: 0 / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.259e-05/0.166, allocations: 0 / 354.4 MB, free: 9.922 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.00616/0.1721, allocations: 2.481 MB / 356.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/0.1722, allocations: 12.03 kB / 356.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/0.173, allocations: 246.3 kB / 357.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.1756, allocations: 1.227 MB / 358.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.1758, allocations: 139.9 kB / 358.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.1761, allocations: 184 kB / 358.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.1801, allocations: 2.374 MB / 361.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.1802, allocations: 4 kB / 361.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.1804, allocations: 71.98 kB / 361.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.1805, allocations: 95.5 kB / 361.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003955/0.1845, allocations: 1.958 MB / 363.2 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.197, allocations: 7.066 MB / 370.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.1988, allocations: 1.269 MB / 371.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.2003, allocations: 0.862 MB / 372.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.2006, allocations: 134 kB / 372.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.2006, allocations: 39.56 kB / 372.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.2006, allocations: 0 / 372.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01293/0.2136, allocations: 5.897 MB / 378.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.2137, allocations: 60.41 kB / 378.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.2156, allocations: 1.207 MB / 379.7 MB, free: 28 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2397/0.4553, allocations: 48.95 kB / 379.8 MB, free: 52.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.4564, allocations: 0.8621 MB / 380.6 MB, free: 52.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.4567, allocations: 372.4 kB / 381 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004842/0.4572, allocations: 219.5 kB / 381.2 MB, free: 52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4574, allocations: 356.3 kB / 381.6 MB, free: 51.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4587, allocations: 0.6117 MB / 382.2 MB, free: 51.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.4603, allocations: 0.9233 MB / 383.1 MB, free: 50.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.4633, allocations: 1.641 MB / 384.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.4634, allocations: 5.781 kB / 384.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005127/0.4685, allocations: 2.218 MB / 387 MB, free: 49.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.4685, allocations: 10.28 kB / 387 MB, free: 49.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.4686, allocations: 9.75 kB / 387 MB, free: 49.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.4699, allocations: 483.9 kB / 387.5 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.471, allocations: 270.6 kB / 387.7 MB, free: 48.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.4785, allocations: 7.016 MB / 394.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.48, allocations: 80.09 kB / 394.8 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4802, allocations: 52.61 kB / 394.9 MB, free: 43.43 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.001355/0.4815, allocations: 0.5959 MB / 395.5 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.4819, allocations: 138.3 kB / 395.6 MB, free: 43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.4854, allocations: 2.025 MB / 397.6 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4854, allocations: 9.656 kB / 397.6 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4854, allocations: 5.594 kB / 397.6 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4854, allocations: 6.516 kB / 397.6 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/0.4922, allocations: 4.215 MB / 401.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.4922, allocations: 3.969 kB / 401.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/0.4929, allocations: 178.3 kB / 402 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.4941, allocations: 0.5268 MB / 402.6 MB, free: 39.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.709e-05/0.4942, allocations: 33.77 kB / 402.6 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/0.5005, allocations: 8.604 MB / 411.2 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5006, allocations: 8 kB / 411.2 MB, free: 31.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.5045, allocations: 2.943 MB / 414.1 MB, free: 28.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/0.5053, allocations: 351.2 kB / 414.5 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5055, allocations: 35.27 kB / 414.5 MB, free: 28.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.5062, allocations: 71.92 kB / 414.6 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.5064, allocations: 96.75 kB / 414.7 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.5065, allocations: 36.86 kB / 414.7 MB, free: 28.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.5076, allocations: 0.8304 MB / 415.6 MB, free: 27.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5076, allocations: 4 kB / 415.6 MB, free: 27.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001582/0.5092, allocations: 408 kB / 416 MB, free: 27.05 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.0003751/0.5096, allocations: 189.7 kB / 416.1 MB, free: 26.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.5127, allocations: 2.159 MB / 418.3 MB, free: 24.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5127, allocations: 0 / 418.3 MB, free: 24.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.5145, allocations: 1.48 MB / 419.8 MB, free: 23.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.5161, allocations: 382.9 kB / 420.2 MB, free: 22.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.5219, allocations: 3.92 MB / 424.1 MB, free: 18.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.5229, allocations: 1.638 MB / 425.7 MB, free: 17.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008949/0.5238, allocations: 299.1 kB / 426 MB, free: 16.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.5241, allocations: 95.42 kB / 426.1 MB, free: 16.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.954e-06/0.5241, allocations: 0 / 426.1 MB, free: 16.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03934/0.5634, allocations: 22.27 MB / 448.4 MB, free: 10.42 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 -s cvode -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/jenkins1/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/jenkins1/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