Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001496/0.001496, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001081, allocations: 96.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.971e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.502, allocations: 104 MB / 466.4 MB, free: 14.22 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5023, allocations: 83.95 kB / 466.5 MB, free: 14.14 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4777/0.9801, allocations: 48.45 MB / 0.5029 GB, free: 95.72 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.9802, allocations: 1.125 kB / 0.5029 GB, free: 95.72 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003/0.9805, allocations: 66.73 kB / 0.5029 GB, free: 95.71 MB / 395.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.009636/0.9901, allocations: 2.465 MB / 0.5053 GB, free: 94.8 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.9902, allocations: 9.703 kB / 0.5053 GB, free: 94.8 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.9922, allocations: 327.6 kB / 0.5056 GB, free: 94.66 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.9984, allocations: 1.728 MB / 0.5073 GB, free: 94.22 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.9987, allocations: 75.56 kB / 0.5074 GB, free: 94.22 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.9997, allocations: 143 kB / 0.5075 GB, free: 94.21 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007496/1.007, allocations: 2.386 MB / 0.5099 GB, free: 94.2 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008997/1.016, allocations: 2.748 MB / 0.5126 GB, free: 93.82 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/1.016, allocations: 9.25 kB / 0.5126 GB, free: 93.81 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/1.017, allocations: 4.906 kB / 0.5126 GB, free: 93.81 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/1.017, allocations: 100.4 kB / 0.5127 GB, free: 93.8 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02598/1.043, allocations: 9.489 MB / 0.5219 GB, free: 91.41 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/1.047, allocations: 2.029 MB / 0.5239 GB, free: 90.79 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/1.049, allocations: 1.036 MB / 0.5249 GB, free: 90.42 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/1.05, allocations: 144.8 kB / 0.5251 GB, free: 90.32 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.05, allocations: 43.69 kB / 0.5251 GB, free: 90.27 MB / 395.1 MB Notification: Performance of pre-optimization done (n=129): time 4.368e-06/1.05, allocations: 4 kB / 0.5251 GB, free: 90.27 MB / 395.1 MB Notification: Performance of matching and sorting (n=145): time 0.01733/1.067, allocations: 5.318 MB / 0.5303 GB, free: 88.08 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.067, allocations: 67.53 kB / 0.5304 GB, free: 88.02 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/1.07, allocations: 1.215 MB / 0.5316 GB, free: 87.53 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003466/1.07, allocations: 25.7 kB / 0.5316 GB, free: 87.5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/1.071, allocations: 1.038 MB / 0.5326 GB, free: 86.64 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/1.072, allocations: 482.4 kB / 0.5331 GB, free: 86.27 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.072, allocations: 0.8438 kB / 0.5331 GB, free: 86.27 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.072, allocations: 370.2 kB / 0.5334 GB, free: 85.93 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/1.074, allocations: 0.832 MB / 0.5342 GB, free: 85.62 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/1.076, allocations: 1.134 MB / 0.5353 GB, free: 84.94 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/1.079, allocations: 0.975 MB / 0.5363 GB, free: 84.57 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/1.079, allocations: 7.203 kB / 0.5363 GB, free: 84.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007175/1.086, allocations: 2.66 MB / 0.5389 GB, free: 83.64 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/1.086, allocations: 7.844 kB / 0.5389 GB, free: 83.64 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/1.086, allocations: 7.875 kB / 0.5389 GB, free: 83.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/1.089, allocations: 0.8085 MB / 0.5397 GB, free: 83.41 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/1.092, allocations: 319.3 kB / 0.54 GB, free: 83.39 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.105, allocations: 8.719 MB / 0.5485 GB, free: 77.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.107, allocations: 69.17 kB / 0.5486 GB, free: 77.53 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/1.107, allocations: 61.72 kB / 0.5486 GB, free: 77.52 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004156/1.108, allocations: 136.9 kB / 0.5488 GB, free: 77.4 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/1.108, allocations: 169.3 kB / 0.5489 GB, free: 77.32 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00739/1.116, allocations: 2.636 MB / 0.5515 GB, free: 76.34 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.116, allocations: 14.44 kB / 0.5515 GB, free: 76.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/1.116, allocations: 13.25 kB / 0.5515 GB, free: 76.33 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/1.116, allocations: 10.23 kB / 0.5515 GB, free: 76.33 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.13, allocations: 5.154 MB / 0.5566 GB, free: 74.24 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.13, allocations: 7.688 kB / 0.5566 GB, free: 74.24 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.132, allocations: 209.5 kB / 0.5568 GB, free: 74.22 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003655/1.135, allocations: 0.8615 MB / 0.5576 GB, free: 73.96 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/1.136, allocations: 15.17 kB / 0.5576 GB, free: 73.96 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/1.15, allocations: 10.19 MB / 0.5676 GB, free: 65.98 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/1.15, allocations: 4.781 kB / 0.5676 GB, free: 65.98 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00878/1.159, allocations: 4.061 MB / 0.5716 GB, free: 62.33 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.161, allocations: 445.5 kB / 0.572 GB, free: 61.92 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.161, allocations: 11.47 kB / 0.572 GB, free: 61.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/1.163, allocations: 65.33 kB / 0.5721 GB, free: 61.87 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.164, allocations: 150.9 kB / 0.5722 GB, free: 61.77 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.164, allocations: 46.62 kB / 0.5722 GB, free: 61.73 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001768/1.166, allocations: 0.9232 MB / 0.5731 GB, free: 60.91 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.166, allocations: 3.938 kB / 0.5731 GB, free: 60.91 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002965/1.169, allocations: 0.509 MB / 0.5736 GB, free: 60.4 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000739/1.169, allocations: 278.6 kB / 0.5739 GB, free: 60.17 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00571/1.175, allocations: 2.786 MB / 0.5766 GB, free: 57.61 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.175, allocations: 0 / 0.5766 GB, free: 57.61 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004249/1.179, allocations: 1.922 MB / 0.5785 GB, free: 55.84 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.183, allocations: 377.9 kB / 0.5789 GB, free: 55.56 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.193, allocations: 4.199 MB / 0.583 GB, free: 51.82 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/1.195, allocations: 2.031 MB / 0.5849 GB, free: 50.18 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/1.196, allocations: 114.8 kB / 0.5851 GB, free: 50.08 MB / 395.1 MB Notification: Performance of SimCode: time 1.392e-06/1.196, allocations: 0 / 0.5851 GB, free: 50.08 MB / 395.1 MB Notification: Performance of Templates: time 0.4194/1.615, allocations: 86.3 MB / 0.6693 GB, free: 101.6 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches