Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 187 kB / 17.92 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.192/1.192, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0009135/0.0009135, allocations: 98.5 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007423/0.0007423, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.184, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.007961/0.1919, allocations: 9.699 MB / 383.5 MB, free: 38.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004563/0.1965, allocations: 3.108 MB / 386.6 MB, free: 35.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.1978, allocations: 44.88 kB / 386.7 MB, free: 35.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.1995, allocations: 0.5812 MB / 387.3 MB, free: 35.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.2017, allocations: 0.7576 MB / 388 MB, free: 34.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.2024, allocations: 339.8 kB / 388.3 MB, free: 34.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.2049, allocations: 3.564 MB / 391.9 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.2065, allocations: 2.008 MB / 393.9 MB, free: 29.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.2076, allocations: 1.179 MB / 395.1 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.2088, allocations: 1.619 MB / 396.7 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.2091, allocations: 220 kB / 396.9 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.2097, allocations: 323.8 kB / 397.2 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.2102, allocations: 0.8411 MB / 398.1 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008907/0.2111, allocations: 1.442 MB / 399.5 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.2132, allocations: 4.533 MB / 404.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2132, allocations: 4 kB / 404.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.2132, allocations: 0 / 404.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.2133, allocations: 0 / 404.1 MB, free: 19.13 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.004365/0.2176, allocations: 3.213 MB / 407.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2177, allocations: 8.031 kB / 407.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.2183, allocations: 325.3 kB / 407.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.2205, allocations: 1.627 MB / 409.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.2206, allocations: 168.9 kB / 409.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.2208, allocations: 239.8 kB / 409.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/0.2246, allocations: 3.184 MB / 412.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.2246, allocations: 7.938 kB / 412.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.2248, allocations: 92 kB / 412.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-05/0.2249, allocations: 108.4 kB / 413 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/0.2283, allocations: 2.738 MB / 415.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.2408, allocations: 9.879 MB / 425.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.2431, allocations: 2.094 MB / 427.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.2448, allocations: 1.195 MB / 428.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.2451, allocations: 130 kB / 429.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.2451, allocations: 47.56 kB / 429.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 3.446e-06/0.2451, allocations: 0 / 429.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=142): time 0.0165/0.2617, allocations: 7.999 MB / 437.1 MB, free: 1.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.2617, allocations: 68.72 kB / 437.2 MB, free: 1.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.2639, allocations: 1.684 MB / 438.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.264, allocations: 49.7 kB / 438.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.2647, allocations: 1.089 MB / 440 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.2651, allocations: 485 kB / 440.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004639/0.2656, allocations: 299.3 kB / 440.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.2656, allocations: 301.1 kB / 441 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.2669, allocations: 0.9096 MB / 442 MB, free: 12.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.2684, allocations: 1.263 MB / 443.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.2712, allocations: 2.25 MB / 445.5 MB, free: 8.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.2712, allocations: 4 kB / 445.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004899/0.2761, allocations: 3.041 MB / 448.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2761, allocations: 8 kB / 448.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.2762, allocations: 12 kB / 448.5 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.2781, allocations: 0.8556 MB / 449.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.2792, allocations: 311.5 kB / 449.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00939/0.2886, allocations: 9.062 MB / 458.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.2899, allocations: 95.97 kB / 458.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.2901, allocations: 60 kB / 458.9 MB, free: 10.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.2913, allocations: 0.8056 MB / 459.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.2916, allocations: 193.7 kB / 459.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/0.2962, allocations: 2.834 MB / 462.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2962, allocations: 12 kB / 462.8 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.2962, allocations: 8 kB / 462.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.2963, allocations: 7.984 kB / 462.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009252/0.3055, allocations: 5.694 MB / 468.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3056, allocations: 4 kB / 468.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/0.3064, allocations: 191.7 kB / 468.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.3085, allocations: 0.8962 MB / 469.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/0.3086, allocations: 35.98 kB / 469.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.3192, allocations: 10.56 MB / 480.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3193, allocations: 4.031 kB / 480.1 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04552/0.3648, allocations: 31.72 MB / 0.4999 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.3657, allocations: 462.8 kB / 0.5003 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.3659, allocations: 36 kB / 0.5004 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/0.3668, allocations: 79.91 kB / 0.5004 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/0.3672, allocations: 145 kB / 0.5006 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.3673, allocations: 44.55 kB / 0.5006 GB, free: 3.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001491/0.3688, allocations: 1.153 MB / 0.5017 GB, free: 2.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3688, allocations: 0 / 0.5017 GB, free: 2.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002308/0.3711, allocations: 0.7968 MB / 0.5025 GB, free: 1.508 MB / 394.7 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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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,1,100.0%), (9,19,33.3%), (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.0003843/0.3715, allocations: 198.9 kB / 0.5027 GB, free: 1.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1356/0.5072, allocations: 2.979 MB / 0.5056 GB, free: 122.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5072, allocations: 1.375 kB / 0.5056 GB, free: 122.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.5101, allocations: 2.036 MB / 0.5076 GB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.5122, allocations: 485.1 kB / 0.5081 GB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009984/0.5222, allocations: 8.092 MB / 0.516 GB, free: 118.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.5239, allocations: 2.073 MB / 0.518 GB, free: 117.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001327/0.5252, allocations: 432.8 kB / 0.5184 GB, free: 117.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.5256, allocations: 114.3 kB / 0.5185 GB, free: 117.1 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5256, allocations: 0 / 0.5185 GB, free: 117.1 MB / 394.7 MB Notification: Performance of Templates: time 0.04438/0.57, allocations: 40.09 MB / 0.5577 GB, free: 80.65 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches