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.001605/0.001605, allocations: 114.1 kB / 17.28 MB, free: 6.219 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.001885/0.001885, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.1 MB / 224 MB, free: 12.45 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.001417/0.001418, allocations: 47.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1614, allocations: 46.63 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01152/0.173, allocations: 8.734 MB / 335.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007163/0.1802, allocations: 2.844 MB / 338.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.1821, allocations: 35.81 kB / 338.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.1841, allocations: 0.5363 MB / 338.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.1875, allocations: 0.6372 MB / 339.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1886, allocations: 295.6 kB / 339.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.1925, allocations: 2.226 MB / 342.1 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.195, allocations: 1.714 MB / 343.8 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.1973, allocations: 1.012 MB / 344.8 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.1992, allocations: 1.308 MB / 346.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.1996, allocations: 272 kB / 346.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.2002, allocations: 363.8 kB / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006928/0.2009, allocations: 0.7597 MB / 347.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.2021, allocations: 1.206 MB / 348.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.2066, allocations: 3.493 MB / 352.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.2066, allocations: 0 / 352.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2066, allocations: 0 / 352.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.077e-05/0.2067, allocations: 0 / 352.2 MB, free: 11.23 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.00565/0.2124, allocations: 2.481 MB / 354.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.2124, allocations: 8.031 kB / 354.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.2132, allocations: 250.3 kB / 354.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.2152, allocations: 1.22 MB / 356.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.2154, allocations: 131.9 kB / 356.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.2157, allocations: 192 kB / 356.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.2197, allocations: 2.367 MB / 358.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/0.2198, allocations: 3.938 kB / 358.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.22, allocations: 72 kB / 358.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.2201, allocations: 95.5 kB / 359 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.2234, allocations: 1.962 MB / 361 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.2346, allocations: 7.148 MB / 368.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.2364, allocations: 1.28 MB / 369.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.2379, allocations: 0.866 MB / 370.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.2381, allocations: 122 kB / 370.4 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.2382, allocations: 43.56 kB / 370.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.925e-06/0.2382, allocations: 0 / 370.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.0138/0.252, allocations: 5.893 MB / 376.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.2521, allocations: 64.41 kB / 376.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.254, allocations: 1.211 MB / 377.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.2541, allocations: 45.69 kB / 377.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006687/0.2548, allocations: 0.8612 MB / 378.5 MB, free: 332 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.3061/0.5609, allocations: 365.3 kB / 378.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/0.5616, allocations: 217.9 kB / 379.1 MB, free: 52.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5617, allocations: 358.3 kB / 379.4 MB, free: 51.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.5632, allocations: 0.6152 MB / 380 MB, free: 51.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.565, allocations: 0.9284 MB / 381 MB, free: 51.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.5682, allocations: 1.634 MB / 382.6 MB, free: 50.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5683, allocations: 2.656 kB / 382.6 MB, free: 50.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005375/0.5736, allocations: 2.217 MB / 384.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.5737, allocations: 13.17 kB / 384.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.5738, allocations: 9.469 kB / 384.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.5753, allocations: 489.3 kB / 385.3 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5766, allocations: 271 kB / 385.6 MB, free: 49.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/0.5849, allocations: 7.024 MB / 392.6 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.5867, allocations: 84.44 kB / 392.7 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.5868, allocations: 47.56 kB / 392.7 MB, free: 44.07 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.001705/0.5885, allocations: 0.6008 MB / 393.3 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.589, allocations: 135.5 kB / 393.5 MB, free: 43.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.5933, allocations: 2.02 MB / 395.5 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.5933, allocations: 15.58 kB / 395.5 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.5933, allocations: 7.766 kB / 395.5 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.5934, allocations: 3.797 kB / 395.5 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007967/0.6013, allocations: 4.222 MB / 399.7 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.6014, allocations: 3.969 kB / 399.7 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.6021, allocations: 184.3 kB / 399.9 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.6034, allocations: 0.5176 MB / 400.4 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.6035, allocations: 37.92 kB / 400.5 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00787/0.6114, allocations: 8.622 MB / 409.1 MB, free: 33.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6114, allocations: 4 kB / 409.1 MB, free: 33.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/0.6164, allocations: 2.942 MB / 412 MB, free: 30.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.6176, allocations: 347.2 kB / 412.4 MB, free: 29.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.6178, allocations: 31.98 kB / 412.4 MB, free: 29.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007751/0.6186, allocations: 71.92 kB / 412.5 MB, free: 29.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/0.6189, allocations: 96.75 kB / 412.6 MB, free: 29.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/0.619, allocations: 32 kB / 412.6 MB, free: 29.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.6203, allocations: 0.8382 MB / 413.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6203, allocations: 0 / 413.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002071/0.6223, allocations: 404 kB / 413.8 MB, free: 28.23 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.0004605/0.6228, allocations: 191.3 kB / 414 MB, free: 28.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004961/0.6278, allocations: 2.487 MB / 416.5 MB, free: 25.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.6278, allocations: 0 / 416.5 MB, free: 25.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.6306, allocations: 1.491 MB / 418 MB, free: 23.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.6336, allocations: 384.7 kB / 418.4 MB, free: 23.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008991/0.6426, allocations: 4.742 MB / 423.1 MB, free: 18.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.6438, allocations: 1.634 MB / 424.8 MB, free: 17.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001279/0.6451, allocations: 299.8 kB / 425 MB, free: 16.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.6454, allocations: 99.42 kB / 425.1 MB, free: 16.72 MB / 318.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6454, allocations: 0 / 425.1 MB, free: 16.72 MB / 318.1 MB Notification: Performance of Templates: time 0.04347/0.6889, allocations: 22.24 MB / 447.4 MB, free: 10.47 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 -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","../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