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.001118/0.001118, allocations: 109.3 kB / 18.4 MB, free: 4.699 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.001133/0.001133, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.31/1.31, 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.001412/0.001412, allocations: 59.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08844, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.1958/0.2843, allocations: 12.8 MB / 388.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007671/0.292, allocations: 4.254 MB / 392.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.2946, allocations: 67.59 kB / 392.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.2972, allocations: 0.9766 MB / 393.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.301, allocations: 1.179 MB / 395.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3024, allocations: 0.524 MB / 395.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006104/0.3085, allocations: 4.674 MB / 400.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0046/0.3131, allocations: 3.606 MB / 403.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.3176, allocations: 2.122 MB / 406 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004724/0.3223, allocations: 2.561 MB / 408.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.3235, allocations: 0.5527 MB / 409.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.3256, allocations: 0.6428 MB / 409.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.3271, allocations: 1.528 MB / 411.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.3303, allocations: 2.476 MB / 413.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007169/0.3375, allocations: 7.423 MB / 421.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3375, allocations: 0 / 421.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3375, allocations: 0 / 421.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001616/0.3377, allocations: 0 / 421.2 MB, free: 2.188 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009146/0.3469, allocations: 4.693 MB / 425.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3469, allocations: 8.031 kB / 425.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3481, allocations: 0.4995 MB / 426.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.3517, allocations: 2.4 MB / 428.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.3519, allocations: 274.9 kB / 429.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004773/0.3524, allocations: 351.9 kB / 429.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00773/0.3601, allocations: 5.021 MB / 434.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/0.3602, allocations: 12 kB / 434.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.3605, allocations: 144 kB / 434.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.3607, allocations: 183.1 kB / 434.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006689/0.3674, allocations: 4.287 MB / 439.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.3898, allocations: 14.73 MB / 453.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/0.394, allocations: 4.188 MB / 458 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.397, allocations: 1.995 MB / 460 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.3973, allocations: 135.1 kB / 460.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3974, allocations: 53.22 kB / 460.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.427e-06/0.3974, allocations: 0 / 460.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01962/0.417, allocations: 10.02 MB / 470.2 MB, free: 272 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.4171, allocations: 73.41 kB / 470.3 MB, free: 184 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.4217, allocations: 2.506 MB / 472.8 MB, free: 13.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.422, allocations: 61.7 kB / 472.8 MB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.4233, allocations: 1.623 MB / 474.4 MB, free: 11.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/0.424, allocations: 0.7276 MB / 475.2 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006863/0.4247, allocations: 424.3 kB / 475.6 MB, free: 10.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4248, allocations: 301.1 kB / 475.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.4269, allocations: 1.301 MB / 477.2 MB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.4293, allocations: 1.778 MB / 479 MB, free: 7.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.4339, allocations: 3.227 MB / 482.2 MB, free: 3.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.4339, allocations: 4 kB / 482.2 MB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007013/0.4409, allocations: 4.079 MB / 486.3 MB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.441, allocations: 11.91 kB / 486.3 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.441, allocations: 16 kB / 486.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.4437, allocations: 0.8675 MB / 487.2 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.4458, allocations: 0.5304 MB / 487.7 MB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4561, allocations: 9.478 MB / 497.2 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.4583, allocations: 115.9 kB / 497.3 MB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/0.4587, allocations: 91.98 kB / 497.4 MB, free: 4.148 MB / 414.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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002566/0.4613, allocations: 1.212 MB / 498.6 MB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008466/0.4621, allocations: 280.7 kB / 498.9 MB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006477/0.4686, allocations: 3.726 MB / 0.4908 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.4687, allocations: 20 kB / 0.4908 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/0.4687, allocations: 8 kB / 0.4908 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.4687, allocations: 11.95 kB / 0.4908 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.4833, allocations: 8.021 MB / 0.4987 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.4834, allocations: 0 / 0.4987 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.485, allocations: 387.8 kB / 0.499 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/0.4879, allocations: 0.9334 MB / 0.5 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.4881, allocations: 55.97 kB / 0.5 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.4994, allocations: 11.06 MB / 0.5108 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4995, allocations: 4 kB / 0.5108 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008717/0.5082, allocations: 5.516 MB / 0.5162 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.5099, allocations: 0.6304 MB / 0.5168 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007752/0.5107, allocations: 51.98 kB / 0.5169 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.5124, allocations: 119.8 kB / 0.517 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/0.5129, allocations: 173.8 kB / 0.5171 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.513, allocations: 63.98 kB / 0.5172 GB, free: 3.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003184/0.5162, allocations: 1.731 MB / 0.5189 GB, free: 1.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5162, allocations: 0 / 0.5189 GB, free: 1.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003171/0.5194, allocations: 0.793 MB / 0.5197 GB, free: 0.5273 MB / 446.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 (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%), (3,25,88.9%), (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.0006228/0.5201, allocations: 240.9 kB / 0.5199 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006526/0.5266, allocations: 3.892 MB / 0.5237 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/0.5266, allocations: 0.875 kB / 0.5237 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004473/0.5311, allocations: 2.487 MB / 0.5261 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/0.5359, allocations: 0.7871 MB / 0.5269 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.5507, allocations: 7.721 MB / 0.5344 GB, free: 1.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/0.5538, allocations: 2.73 MB / 0.5371 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/0.5548, allocations: 195.3 kB / 0.5373 GB, free: 14.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5548, allocations: 0 / 0.5373 GB, free: 14.23 MB / 478.1 MB Notification: Performance of Templates: time 0.3041/0.859, allocations: 142 MB / 0.676 GB, free: 39.34 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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