Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 96.19 kB / 16.94 MB, free: 5.98 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.002107/0.002107, allocations: 179.2 kB / 17.82 MB, free: 5.652 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.891/1.891, allocations: 205.4 MB / 224 MB, free: 13.18 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.0005361/0.0005363, allocations: 11.98 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1434, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01057/0.1541, allocations: 7.563 MB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00768/0.1618, allocations: 2.921 MB / 338.8 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.1636, allocations: 35.81 kB / 338.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.1662, allocations: 0.5326 MB / 339.4 MB, free: 9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.1697, allocations: 0.6503 MB / 340 MB, free: 8.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1709, allocations: 219.7 kB / 340.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.1745, allocations: 1.727 MB / 342 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.1764, allocations: 1.339 MB / 343.3 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.1781, allocations: 0.8212 MB / 344.1 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.1802, allocations: 1.062 MB / 345.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.1806, allocations: 132 kB / 345.3 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009343/0.1815, allocations: 199.9 kB / 345.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.1824, allocations: 0.6387 MB / 346.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.1832, allocations: 0.4926 MB / 346.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.1867, allocations: 3.229 MB / 349.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1867, allocations: 0 / 349.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1867, allocations: 0 / 349.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.1869, allocations: 0 / 349.9 MB, free: 14.43 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006358/0.1932, allocations: 2.424 MB / 352.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1933, allocations: 12.03 kB / 352.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1944, allocations: 288.7 kB / 352.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.1977, allocations: 1.395 MB / 354 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.1979, allocations: 156 kB / 354.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/0.1983, allocations: 199.9 kB / 354.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006621/0.205, allocations: 2.712 MB / 357.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.173e-05/0.2051, allocations: 7.906 kB / 357.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.2053, allocations: 83.98 kB / 357.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/0.2056, allocations: 95.92 kB / 357.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00531/0.2109, allocations: 2.326 MB / 359.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/0.2318, allocations: 8.419 MB / 368 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.2346, allocations: 1.775 MB / 369.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.235, allocations: 122.1 kB / 369.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.2351, allocations: 47.5 kB / 369.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/0.2351, allocations: 3.938 kB / 369.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01509/0.2502, allocations: 6.204 MB / 376.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.2503, allocations: 68.36 kB / 376.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.253, allocations: 1.461 MB / 377.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.2532, allocations: 45.7 kB / 377.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/0.254, allocations: 0.9912 MB / 378.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.2545, allocations: 406 kB / 379.1 MB, free: 488 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.2546, allocations: 32 kB / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2548, allocations: 365.9 kB / 379.5 MB, free: 84 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2817/0.5365, allocations: 0.7345 MB / 380.2 MB, free: 50.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.5382, allocations: 1.062 MB / 381.3 MB, free: 49.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.54, allocations: 0.89 MB / 382.2 MB, free: 49.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.54, allocations: 2.656 kB / 382.2 MB, free: 49.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004221/0.5442, allocations: 2.369 MB / 384.5 MB, free: 49.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.5443, allocations: 9.094 kB / 384.6 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.5443, allocations: 8.438 kB / 384.6 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.5453, allocations: 411.3 kB / 385 MB, free: 48.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5468, allocations: 331.9 kB / 385.3 MB, free: 48.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.5524, allocations: 4.755 MB / 390 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.5539, allocations: 94.34 kB / 390.1 MB, free: 45.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.554, allocations: 55.22 kB / 390.2 MB, free: 45.45 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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001653/0.5557, allocations: 0.7005 MB / 390.9 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.5561, allocations: 166.8 kB / 391.1 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.5601, allocations: 2.17 MB / 393.2 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5602, allocations: 11.81 kB / 393.2 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.5602, allocations: 4.812 kB / 393.2 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.5602, allocations: 7.219 kB / 393.2 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/0.5676, allocations: 4.561 MB / 397.8 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.5677, allocations: 8.031 kB / 397.8 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.5685, allocations: 230.8 kB / 398 MB, free: 42.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.5696, allocations: 465.8 kB / 398.5 MB, free: 42.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/0.5697, allocations: 31.8 kB / 398.5 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.5743, allocations: 6.268 MB / 404.8 MB, free: 36.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5743, allocations: 7.75 kB / 404.8 MB, free: 36.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.5784, allocations: 3.351 MB / 408.2 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5796, allocations: 401.2 kB / 408.5 MB, free: 33.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.5799, allocations: 24 kB / 408.6 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.5807, allocations: 87.91 kB / 408.7 MB, free: 33.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.5811, allocations: 109.7 kB / 408.8 MB, free: 33.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.5812, allocations: 35.98 kB / 408.8 MB, free: 33.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001594/0.5828, allocations: 0.997 MB / 409.8 MB, free: 32.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5828, allocations: 0 / 409.8 MB, free: 32.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001687/0.5845, allocations: 462.8 kB / 410.2 MB, free: 31.58 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/0.5848, allocations: 155.4 kB / 410.4 MB, free: 31.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.5883, allocations: 2.289 MB / 412.7 MB, free: 29.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5883, allocations: 0 / 412.7 MB, free: 29.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.5902, allocations: 1.51 MB / 414.2 MB, free: 27.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.5922, allocations: 402.7 kB / 414.6 MB, free: 27.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007237/0.5994, allocations: 5.309 MB / 419.9 MB, free: 21.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6006, allocations: 1.865 MB / 421.8 MB, free: 19.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001246/0.6019, allocations: 393.4 kB / 422.1 MB, free: 19.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.6022, allocations: 111.4 kB / 422.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of SimCode: time 2.655e-06/0.6022, allocations: 0 / 422.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of Templates: time 0.03949/0.6417, allocations: 22.99 MB / 445.2 MB, free: 12.36 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches