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.001544/0.001544, allocations: 108 kB / 18.4 MB, free: 4.703 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.001837/0.001837, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.444/1.444, allocations: 205.1 MB / 225.2 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.001394/0.001394, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08793, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.1732/0.2612, allocations: 8.798 MB / 384.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.2665, allocations: 2.889 MB / 387.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.268, allocations: 36.03 kB / 387.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.27, allocations: 0.6047 MB / 388.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.2726, allocations: 0.7012 MB / 388.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.2736, allocations: 326.8 kB / 389.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.2766, allocations: 2.236 MB / 391.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.2791, allocations: 1.7 MB / 393.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.281, allocations: 1.012 MB / 394.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.2834, allocations: 1.28 MB / 395.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009603/0.2844, allocations: 268.8 kB / 395.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.2859, allocations: 360.3 kB / 396 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.2871, allocations: 0.7664 MB / 396.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.2896, allocations: 1.21 MB / 398 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.2945, allocations: 3.522 MB / 401.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2945, allocations: 0 / 401.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2945, allocations: 1.562 kB / 401.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.2946, allocations: 0 / 401.5 MB, free: 0.5742 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.007296/0.3019, allocations: 2.487 MB / 404 MB, free: 14.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.302, allocations: 10.25 kB / 404 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.3032, allocations: 249.6 kB / 404.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.3062, allocations: 1.227 MB / 405.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3064, allocations: 140.1 kB / 405.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004855/0.3069, allocations: 180.6 kB / 405.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.3125, allocations: 2.372 MB / 408.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.3127, allocations: 10.56 kB / 408.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/0.313, allocations: 71.11 kB / 408.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.3131, allocations: 96.72 kB / 408.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.3174, allocations: 1.964 MB / 410.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.3318, allocations: 7.055 MB / 417.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3339, allocations: 1.276 MB / 418.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.3357, allocations: 0.8542 MB / 419.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.3359, allocations: 118.1 kB / 419.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.336, allocations: 51.97 kB / 419.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.795e-06/0.336, allocations: 0 / 419.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01408/0.3501, allocations: 5.909 MB / 425.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.3502, allocations: 64.41 kB / 425.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.3535, allocations: 1.215 MB / 426.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.3538, allocations: 45.7 kB / 426.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008941/0.3547, allocations: 0.8612 MB / 427.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.3552, allocations: 366.8 kB / 428.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/0.3559, allocations: 222.8 kB / 428.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3561, allocations: 357.9 kB / 428.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.3571, allocations: 0.6077 MB / 429.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.3584, allocations: 0.9275 MB / 430.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.3609, allocations: 1.64 MB / 431.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3609, allocations: 0 / 431.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004136/0.365, allocations: 2.223 MB / 434.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3651, allocations: 12 kB / 434.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3651, allocations: 8 kB / 434.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.3663, allocations: 480.1 kB / 434.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.3673, allocations: 271.6 kB / 434.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.3741, allocations: 7.026 MB / 441.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.3754, allocations: 79.86 kB / 441.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.3756, allocations: 51.98 kB / 442 MB, free: 12.16 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.001255/0.3769, allocations: 0.591 MB / 442.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.3773, allocations: 138.4 kB / 442.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.3812, allocations: 2.02 MB / 444.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.3812, allocations: 8 kB / 444.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.3812, allocations: 8 kB / 444.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3812, allocations: 7.984 kB / 444.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/0.389, allocations: 4.216 MB / 449 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.3891, allocations: 4 kB / 449 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.3899, allocations: 179.7 kB / 449.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.3913, allocations: 0.5197 MB / 449.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.3915, allocations: 31.98 kB / 449.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008241/0.3997, allocations: 8.605 MB / 458.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3998, allocations: 8 kB / 458.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/0.4051, allocations: 2.949 MB / 461.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.406, allocations: 347.2 kB / 461.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/0.4065, allocations: 31.98 kB / 461.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009663/0.4074, allocations: 75.86 kB / 461.7 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.4077, allocations: 96.75 kB / 461.8 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.4078, allocations: 35.98 kB / 461.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.4093, allocations: 0.8343 MB / 462.7 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4093, allocations: 3.938 kB / 462.7 MB, free: 6.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001784/0.4111, allocations: 404 kB / 463.1 MB, free: 6.18 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.0004176/0.4116, allocations: 192.2 kB / 463.2 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.4152, allocations: 2.162 MB / 465.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.272e-05/0.4152, allocations: 0.6875 kB / 465.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002458/0.4177, allocations: 1.483 MB / 466.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.4199, allocations: 391.7 kB / 467.3 MB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/0.4277, allocations: 3.969 MB / 471.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.4294, allocations: 1.614 MB / 472.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.4299, allocations: 103.4 kB / 473 MB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4299, allocations: 0 / 473 MB, free: 12 MB / 398.1 MB Notification: Performance of Templates: time 0.07527/0.5052, allocations: 68.38 MB / 0.5286 GB, free: 7.461 MB / 462.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/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