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.001096/0.001101, allocations: 175.8 kB / 16.72 MB, free: 5.082 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.704/1.704, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008793/0.0008794, allocations: 94.41 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3384, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01185/0.3503, allocations: 8.631 MB / 383.7 MB, free: 38.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008204/0.3586, allocations: 2.954 MB / 386.7 MB, free: 36.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.3606, allocations: 43.22 kB / 386.7 MB, free: 36.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.3624, allocations: 0.5278 MB / 387.3 MB, free: 35.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.3653, allocations: 0.7299 MB / 388 MB, free: 35.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.3662, allocations: 241.8 kB / 388.2 MB, free: 35.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.3701, allocations: 3.202 MB / 391.4 MB, free: 32.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3724, allocations: 2.006 MB / 393.4 MB, free: 30.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.3745, allocations: 1.019 MB / 394.4 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.3766, allocations: 1.393 MB / 395.8 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.377, allocations: 156 kB / 396 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3779, allocations: 247.8 kB / 396.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007793/0.3786, allocations: 0.7515 MB / 397 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.3802, allocations: 1.304 MB / 398.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.3832, allocations: 3.779 MB / 402.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.3833, allocations: 0 / 402.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3833, allocations: 0 / 402.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001226/0.3834, allocations: 0 / 402.1 MB, free: 21.61 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.005438/0.3888, allocations: 2.734 MB / 404.8 MB, free: 18.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3889, allocations: 8.031 kB / 404.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/0.3899, allocations: 325.3 kB / 405.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.3926, allocations: 1.619 MB / 406.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.3928, allocations: 176.9 kB / 406.9 MB, free: 16.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.3931, allocations: 231.8 kB / 407.1 MB, free: 16.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005438/0.3985, allocations: 3.188 MB / 410.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.3987, allocations: 7.844 kB / 410.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.399, allocations: 100 kB / 410.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.3991, allocations: 104.4 kB / 410.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004716/0.4038, allocations: 2.746 MB / 413.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.4191, allocations: 9.945 MB / 423.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.4221, allocations: 2.098 MB / 425.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.4242, allocations: 1.207 MB / 426.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.4246, allocations: 118.1 kB / 426.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.4246, allocations: 59.48 kB / 426.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 3.897e-06/0.4246, allocations: 7.938 kB / 426.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=142): time 0.01934/0.444, allocations: 8.089 MB / 434.8 MB, free: 4.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.4441, allocations: 72.66 kB / 434.9 MB, free: 4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.4467, allocations: 1.664 MB / 436.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.4468, allocations: 49.7 kB / 436.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.4477, allocations: 1.089 MB / 437.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.4482, allocations: 488.9 kB / 438.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.4482, allocations: 32 kB / 438.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.4485, allocations: 365.9 kB / 438.5 MB, free: 296 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.4501, allocations: 0.9135 MB / 439.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4519, allocations: 1.275 MB / 440.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.4552, allocations: 2.258 MB / 443 MB, free: 11.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4553, allocations: 4 kB / 443 MB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005722/0.461, allocations: 3.048 MB / 446 MB, free: 8.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.461, allocations: 12 kB / 446.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.461, allocations: 8 kB / 446.1 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.4634, allocations: 0.8483 MB / 446.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4646, allocations: 303.5 kB / 447.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.4767, allocations: 9.092 MB / 456.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4784, allocations: 99.89 kB / 456.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.4785, allocations: 60 kB / 456.5 MB, free: 13.65 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 (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 initialization (155): * Single equations (assignments): 150 * 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,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.4802, allocations: 0.8131 MB / 457.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.4805, allocations: 181.8 kB / 457.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/0.4859, allocations: 2.862 MB / 460.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.486, allocations: 15.94 kB / 460.3 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.486, allocations: 8 kB / 460.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.486, allocations: 3.984 kB / 460.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.496, allocations: 5.706 MB / 466 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4961, allocations: 4 kB / 466 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/0.4971, allocations: 192 kB / 466.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.4995, allocations: 0.9046 MB / 467.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.4997, allocations: 31.98 kB / 467.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.5124, allocations: 10.57 MB / 477.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5125, allocations: 3.938 kB / 477.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007538/0.52, allocations: 4.167 MB / 481.9 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.5211, allocations: 466.7 kB / 482.4 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.5214, allocations: 35.98 kB / 482.4 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5225, allocations: 87.92 kB / 482.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/0.523, allocations: 157 kB / 482.6 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.5232, allocations: 35.98 kB / 482.7 MB, free: 2.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002005/0.5253, allocations: 1.142 MB / 483.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5253, allocations: 0 / 483.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003164/0.5285, allocations: 0.5587 MB / 484.4 MB, free: 0.9492 MB / 362.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 (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.0008019/0.5293, allocations: 187 kB / 484.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005593/0.5349, allocations: 3.014 MB / 487.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5349, allocations: 0.625 kB / 487.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003282/0.5382, allocations: 2.045 MB / 489.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.5416, allocations: 472.4 kB / 490.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009959/0.5516, allocations: 6.122 MB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.5536, allocations: 1.989 MB / 498.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/0.5543, allocations: 123.4 kB / 498.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5543, allocations: 0 / 498.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of Templates: time 0.2586/0.8129, allocations: 91.81 MB / 0.5763 GB, free: 27.27 MB / 378.7 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/jenkins/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