Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 99.31 kB / 16.94 MB, free: 5.984 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.001568/0.001568, allocations: 178.9 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.813/1.813, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005059/0.0005059, allocations: 16 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01223/0.1495, allocations: 10.34 MB / 338.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009635/0.1592, allocations: 4.141 MB / 342.8 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.162, allocations: 63.69 kB / 342.9 MB, free: 5.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.1656, allocations: 0.8046 MB / 343.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004699/0.1703, allocations: 0.9892 MB / 344.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1717, allocations: 315.6 kB / 345 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005571/0.1773, allocations: 2.986 MB / 348 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.1808, allocations: 2.511 MB / 350.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.1837, allocations: 1.444 MB / 351.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.1873, allocations: 1.809 MB / 353.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008702/0.1882, allocations: 240 kB / 354 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.1895, allocations: 315.9 kB / 354.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.1906, allocations: 1.075 MB / 355.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.192, allocations: 0.8394 MB / 356.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.1991, allocations: 5.949 MB / 362.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1991, allocations: 0 / 362.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.1992, allocations: 0 / 362.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003078/0.1995, allocations: 4 kB / 362.1 MB, free: 2.137 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01229/0.2118, allocations: 3.974 MB / 366.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.2119, allocations: 16.02 kB / 366.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.2148, allocations: 498.6 kB / 366.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.2212, allocations: 2.314 MB / 368.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.2215, allocations: 263 kB / 369.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009714/0.2225, allocations: 355.9 kB / 369.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.2337, allocations: 4.974 MB / 374.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.897e-05/0.2339, allocations: 15.97 kB / 374.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.2343, allocations: 147.9 kB / 374.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.2345, allocations: 183.1 kB / 374.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009692/0.2442, allocations: 4.287 MB / 379.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2899/0.5342, allocations: 14.95 MB / 394.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00543/0.5397, allocations: 4.201 MB / 398.3 MB, free: 37.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.5401, allocations: 131 kB / 398.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.5402, allocations: 56.81 kB / 398.5 MB, free: 37.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.598e-06/0.5402, allocations: 4 kB / 398.5 MB, free: 37.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02062/0.5608, allocations: 10.33 MB / 408.8 MB, free: 31.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5609, allocations: 73.41 kB / 408.9 MB, free: 31.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.5644, allocations: 2.451 MB / 411.3 MB, free: 28.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003261/0.5647, allocations: 61.7 kB / 411.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.5658, allocations: 1.609 MB / 413 MB, free: 27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007638/0.5666, allocations: 0.7329 MB / 413.7 MB, free: 26.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.5667, allocations: 48 kB / 413.8 MB, free: 26.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.567, allocations: 398.6 kB / 414.2 MB, free: 25.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.5688, allocations: 1.316 MB / 415.5 MB, free: 24.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.5707, allocations: 1.79 MB / 417.3 MB, free: 22.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.5726, allocations: 1.575 MB / 418.8 MB, free: 20.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.5727, allocations: 8 kB / 418.8 MB, free: 20.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006285/0.579, allocations: 4.107 MB / 423 MB, free: 16.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.579, allocations: 12 kB / 423 MB, free: 16.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.5791, allocations: 15.95 kB / 423 MB, free: 16.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/0.5817, allocations: 0.8803 MB / 423.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.584, allocations: 0.5304 MB / 424.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008615/0.5926, allocations: 8.93 MB / 433.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5958, allocations: 115.9 kB / 433.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/0.5963, allocations: 95.98 kB / 433.5 MB, free: 5.828 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003104/0.5994, allocations: 1.217 MB / 434.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000915/0.6003, allocations: 276.7 kB / 435 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.6063, allocations: 3.758 MB / 438.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.6064, allocations: 24.77 kB / 438.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.6064, allocations: 4 kB / 438.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/0.6065, allocations: 11.95 kB / 438.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.6246, allocations: 8.091 MB / 446.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.6247, allocations: 4 kB / 446.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.6264, allocations: 387.8 kB / 447.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/0.6298, allocations: 0.9339 MB / 448.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/0.6301, allocations: 59.92 kB / 448.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.6432, allocations: 10.42 MB / 458.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.6432, allocations: 7.938 kB / 458.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.654, allocations: 5.787 MB / 464.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/0.6568, allocations: 0.638 MB / 465.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009803/0.6578, allocations: 51.98 kB / 465.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.6598, allocations: 131.8 kB / 465.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006041/0.6605, allocations: 172.6 kB / 465.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.6606, allocations: 67.92 kB / 465.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003652/0.6643, allocations: 1.676 MB / 467.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6643, allocations: 4 kB / 467.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004856/0.6692, allocations: 0.7969 MB / 468 MB, free: 2.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.6703, allocations: 204.7 kB / 468.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.008789/0.6792, allocations: 3.925 MB / 472.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.6793, allocations: 4 kB / 472.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005959/0.6852, allocations: 2.51 MB / 474.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/0.6913, allocations: 0.7127 MB / 475.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.7131, allocations: 9.118 MB / 484.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004964/0.7181, allocations: 2.847 MB / 487.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003417/0.7216, allocations: 0.6827 MB / 488 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.7227, allocations: 171.4 kB / 488.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7228, allocations: 0 / 488.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Templates: time 0.1093/0.8321, allocations: 42.28 MB / 0.518 GB, free: 3.801 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches