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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 107.8 kB / 271.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007665/0.0007665, allocations: 39.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1911, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007319/0.1985, allocations: 8.734 MB / 382.6 MB, free: 38.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.2023, allocations: 2.861 MB / 385.4 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.2028, allocations: 37.66 kB / 385.5 MB, free: 36.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.2038, allocations: 0.5313 MB / 386 MB, free: 36.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.205, allocations: 0.6412 MB / 386.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.2054, allocations: 293.4 kB / 386.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.2071, allocations: 2.606 MB / 389.5 MB, free: 33.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.2082, allocations: 1.405 MB / 390.9 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007849/0.209, allocations: 0.8872 MB / 391.8 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.21, allocations: 1.241 MB / 393.1 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.2102, allocations: 168 kB / 393.2 MB, free: 30 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.2107, allocations: 271.8 kB / 393.5 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.2111, allocations: 0.6543 MB / 394.1 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.2118, allocations: 1.108 MB / 395.3 MB, free: 27.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.2134, allocations: 3.399 MB / 398.7 MB, free: 24.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2135, allocations: 0 / 398.7 MB, free: 24.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2135, allocations: 0 / 398.7 MB, free: 24.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.2135, allocations: 0 / 398.7 MB, free: 24.55 MB / 298.7 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.003523/0.217, allocations: 2.485 MB / 401.1 MB, free: 22.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2171, allocations: 8.031 kB / 401.1 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/0.2176, allocations: 258.1 kB / 401.4 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.2192, allocations: 1.216 MB / 402.6 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.2192, allocations: 131.9 kB / 402.7 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.2194, allocations: 192 kB / 402.9 MB, free: 20.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.2221, allocations: 2.367 MB / 405.3 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.2222, allocations: 0 / 405.3 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.2223, allocations: 72 kB / 405.4 MB, free: 17.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.609e-05/0.2224, allocations: 95.5 kB / 405.5 MB, free: 17.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.2248, allocations: 1.962 MB / 407.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007448/0.2323, allocations: 7.148 MB / 414.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.2336, allocations: 1.272 MB / 415.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.2348, allocations: 0.8659 MB / 416.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.235, allocations: 122 kB / 416.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.235, allocations: 43.56 kB / 416.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.235, allocations: 0 / 416.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.01001/0.245, allocations: 5.901 MB / 422.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2451, allocations: 72.34 kB / 422.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.2465, allocations: 1.211 MB / 424.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.2465, allocations: 41.7 kB / 424.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/0.2471, allocations: 0.8613 MB / 425 MB, free: 13.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.2473, allocations: 370.7 kB / 425.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.2477, allocations: 218.8 kB / 425.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2478, allocations: 357.9 kB / 425.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/0.2487, allocations: 0.6154 MB / 426.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2497, allocations: 0.9275 MB / 427.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.2517, allocations: 1.636 MB / 429.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2517, allocations: 0 / 429.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00319/0.2549, allocations: 2.223 MB / 431.3 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.255, allocations: 12 kB / 431.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.255, allocations: 8 kB / 431.3 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009991/0.256, allocations: 484.1 kB / 431.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.2568, allocations: 267.6 kB / 432 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.2624, allocations: 6.439 MB / 438.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.2633, allocations: 75.92 kB / 438.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.2634, allocations: 51.98 kB / 438.6 MB, free: 15.26 MB / 330.7 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.0008636/0.2643, allocations: 0.591 MB / 439.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.2645, allocations: 142.4 kB / 439.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/0.2677, allocations: 2.012 MB / 441.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2677, allocations: 16 kB / 441.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2677, allocations: 4 kB / 441.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2677, allocations: 3.984 kB / 441.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/0.274, allocations: 4.23 MB / 445.6 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.274, allocations: 8 kB / 445.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.2747, allocations: 179.7 kB / 445.8 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.2759, allocations: 0.5193 MB / 446.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.276, allocations: 31.98 kB / 446.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.2826, allocations: 7.914 MB / 454.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.2826, allocations: 7.938 kB / 454.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03076/0.3134, allocations: 24.15 MB / 478.4 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005843/0.314, allocations: 343.4 kB / 478.7 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.3142, allocations: 28 kB / 478.8 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.3149, allocations: 67.92 kB / 478.8 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.3152, allocations: 96.75 kB / 478.9 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.3152, allocations: 35.98 kB / 479 MB, free: 5.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001068/0.3163, allocations: 0.8343 MB / 479.8 MB, free: 4.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3163, allocations: 0 / 479.8 MB, free: 4.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001733/0.3181, allocations: 0.5743 MB / 480.4 MB, free: 3.816 MB / 362.7 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.0003176/0.3184, allocations: 179 kB / 480.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.3214, allocations: 2.15 MB / 482.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3214, allocations: 0 / 482.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.3234, allocations: 1.472 MB / 484.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.3251, allocations: 374.3 kB / 484.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0076/0.3327, allocations: 6.236 MB / 490.8 MB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.3339, allocations: 1.677 MB / 492.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009667/0.3349, allocations: 311.8 kB / 492.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.3352, allocations: 99.41 kB / 492.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3352, allocations: 0 / 492.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of Templates: time 0.1706/0.5058, allocations: 27.02 MB / 0.5077 GB, free: 121.2 MB / 394.7 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@2/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