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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 113.3 kB / 18.4 MB, free: 4.566 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.001319/0.001319, allocations: 189.2 kB / 19.33 MB, free: 3.648 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.335/1.335, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001218/0.001218, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08727, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.1932/0.2805, allocations: 9.757 MB / 385.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.286, allocations: 3.149 MB / 388.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.2871, allocations: 48.53 kB / 388.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.2887, allocations: 0.67 MB / 389.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.2907, allocations: 0.8186 MB / 390.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.2916, allocations: 385.5 kB / 390.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.2946, allocations: 3.099 MB / 393.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.297, allocations: 2.393 MB / 396.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2989, allocations: 1.373 MB / 397.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.3011, allocations: 1.688 MB / 399.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005099/0.3016, allocations: 363.1 kB / 399.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009412/0.3026, allocations: 453 kB / 400 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009208/0.3035, allocations: 0.9926 MB / 401 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.3053, allocations: 1.603 MB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.3109, allocations: 4.71 MB / 407.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3109, allocations: 4.969 kB / 407.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3109, allocations: 4 kB / 407.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.311, allocations: 0 / 407.3 MB, free: 12.73 MB / 334.1 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.006985/0.318, allocations: 3.215 MB / 410.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3181, allocations: 9.469 kB / 410.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.3189, allocations: 325.8 kB / 410.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.3216, allocations: 1.642 MB / 412.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3217, allocations: 173.6 kB / 412.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.322, allocations: 233.9 kB / 412.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005173/0.3272, allocations: 3.176 MB / 416.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.3273, allocations: 15.78 kB / 416.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.3275, allocations: 92.31 kB / 416.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3277, allocations: 105.1 kB / 416.3 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004389/0.3321, allocations: 2.75 MB / 419 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.346, allocations: 9.766 MB / 428.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.3484, allocations: 2.094 MB / 430.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.3503, allocations: 1.202 MB / 432.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.3505, allocations: 126.9 kB / 432.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.3506, allocations: 51.56 kB / 432.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 2.425e-06/0.3506, allocations: 0 / 432.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.01742/0.368, allocations: 7.986 MB / 440.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3681, allocations: 76.59 kB / 440.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.3705, allocations: 1.676 MB / 442 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.3706, allocations: 53.7 kB / 442 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/0.3714, allocations: 1.082 MB / 443.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.3718, allocations: 496.9 kB / 443.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004693/0.3723, allocations: 287.4 kB / 443.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3724, allocations: 305.1 kB / 444.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.3737, allocations: 0.9057 MB / 445.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3753, allocations: 1.267 MB / 446.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.3783, allocations: 2.25 MB / 448.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3783, allocations: 4 kB / 448.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005105/0.3834, allocations: 3.045 MB / 451.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3834, allocations: 8 kB / 451.7 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3835, allocations: 16 kB / 451.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.3854, allocations: 0.8413 MB / 452.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.3865, allocations: 307.5 kB / 452.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.397, allocations: 9.921 MB / 462.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.3987, allocations: 99.83 kB / 462.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3988, allocations: 56 kB / 462.9 MB, free: 6.969 MB / 382.1 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.001436/0.4002, allocations: 0.8102 MB / 463.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.4006, allocations: 181.8 kB / 463.9 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/0.4053, allocations: 2.846 MB / 466.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4053, allocations: 12 kB / 466.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4053, allocations: 8 kB / 466.8 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4053, allocations: 3.984 kB / 466.8 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/0.4141, allocations: 5.668 MB / 472.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4142, allocations: 0 / 472.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008295/0.415, allocations: 195.7 kB / 472.6 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.4171, allocations: 0.8979 MB / 473.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.4173, allocations: 31.98 kB / 473.5 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/0.4293, allocations: 11.52 MB / 485.1 MB, free: 76 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.4293, allocations: 7.969 kB / 485.1 MB, free: 68 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006558/0.4358, allocations: 4.149 MB / 489.2 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.437, allocations: 458.7 kB / 489.7 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.4373, allocations: 31.98 kB / 489.7 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/0.4382, allocations: 91.84 kB / 489.8 MB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/0.4386, allocations: 145 kB / 489.9 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.4387, allocations: 39.98 kB / 490 MB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001672/0.4404, allocations: 1.146 MB / 491.1 MB, free: 9.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4404, allocations: 8 kB / 491.1 MB, free: 9.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00188/0.4423, allocations: 0.5586 MB / 491.7 MB, free: 9.375 MB / 414.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: 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.0003856/0.4427, allocations: 191.6 kB / 491.9 MB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004463/0.4471, allocations: 2.993 MB / 494.9 MB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4472, allocations: 5.938 kB / 494.9 MB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002928/0.4501, allocations: 2.033 MB / 496.9 MB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.4524, allocations: 0.5034 MB / 497.4 MB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.4602, allocations: 5.19 MB / 0.4908 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.4618, allocations: 1.989 MB / 0.4928 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.4623, allocations: 127.4 kB / 0.4929 GB, free: 12.09 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4623, allocations: 0 / 0.4929 GB, free: 12.09 MB / 430.1 MB Notification: Performance of Templates: time 0.2612/0.7235, allocations: 92.41 MB / 0.5831 GB, free: 143 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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