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_Transformer.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_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.00102, 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.594/1.594, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.001009/0.001009, allocations: 82.42 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01376/0.3529, allocations: 11.34 MB / 386.4 MB, free: 36.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3636, allocations: 4.017 MB / 390.5 MB, free: 33.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.3669, allocations: 65.06 kB / 390.5 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.3697, allocations: 0.7697 MB / 391.3 MB, free: 32.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.3745, allocations: 1.037 MB / 392.3 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3759, allocations: 327.6 kB / 392.6 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00578/0.3817, allocations: 4.884 MB / 397.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003738/0.3855, allocations: 2.957 MB / 400.5 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.3894, allocations: 1.59 MB / 402.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.3932, allocations: 2.094 MB / 404.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006745/0.3939, allocations: 248 kB / 404.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.3955, allocations: 347.8 kB / 404.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.3967, allocations: 1.145 MB / 405.9 MB, free: 17.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003009/0.3997, allocations: 2.004 MB / 407.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.4055, allocations: 5.992 MB / 413.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4055, allocations: 0 / 413.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4055, allocations: 0 / 413.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003269/0.4059, allocations: 0 / 413.9 MB, free: 9.734 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01/0.4159, allocations: 3.954 MB / 417.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.229e-05/0.416, allocations: 12.03 kB / 417.9 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.4178, allocations: 0.4917 MB / 418.4 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.4221, allocations: 2.38 MB / 420.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.4222, allocations: 267 kB / 421 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006152/0.4228, allocations: 355.9 kB / 421.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009995/0.4329, allocations: 5.009 MB / 426.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.931e-05/0.433, allocations: 8 kB / 426.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/0.4334, allocations: 140 kB / 426.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/0.4337, allocations: 187 kB / 426.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009406/0.4431, allocations: 4.291 MB / 431 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.4754, allocations: 15 MB / 446 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005343/0.4808, allocations: 4.192 MB / 450.2 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003779/0.4846, allocations: 2.002 MB / 452.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/0.485, allocations: 131.1 kB / 452.3 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.4851, allocations: 60.55 kB / 452.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 3.577e-06/0.4851, allocations: 0 / 452.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.02287/0.5079, allocations: 10.11 MB / 462.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.508, allocations: 73.41 kB / 462.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005343/0.5134, allocations: 2.49 MB / 465 MB, free: 5.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.5136, allocations: 65.7 kB / 465.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.515, allocations: 1.619 MB / 466.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/0.5157, allocations: 0.7317 MB / 467.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.516, allocations: 44 kB / 467.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.5162, allocations: 398.6 kB / 467.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.5187, allocations: 1.308 MB / 469.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.5213, allocations: 1.779 MB / 471 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/0.527, allocations: 3.227 MB / 474.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.527, allocations: 11.88 kB / 474.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008684/0.5357, allocations: 4.071 MB / 478.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.5357, allocations: 12 kB / 478.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.5358, allocations: 12 kB / 478.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/0.539, allocations: 0.8775 MB / 479.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.5413, allocations: 0.5266 MB / 479.7 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.5525, allocations: 8.747 MB / 488.4 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.555, allocations: 127.9 kB / 488.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.5555, allocations: 87.98 kB / 488.7 MB, free: 13.12 MB / 378.7 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.003398/0.5589, allocations: 1.211 MB / 489.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.56, allocations: 276.7 kB / 490.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008089/0.5681, allocations: 3.734 MB / 493.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.5681, allocations: 24 kB / 493.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.5682, allocations: 11.77 kB / 493.9 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.5682, allocations: 15.95 kB / 493.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.217/0.7852, allocations: 8.099 MB / 0.4903 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.7853, allocations: 0 / 0.4903 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/0.7871, allocations: 389.2 kB / 0.4906 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/0.7903, allocations: 0.9272 MB / 0.4915 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/0.7907, allocations: 55.5 kB / 0.4916 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.8016, allocations: 10.19 MB / 0.5015 GB, free: 98.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8016, allocations: 6.969 kB / 0.5015 GB, free: 98.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/0.8102, allocations: 5.523 MB / 0.5069 GB, free: 96.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/0.812, allocations: 0.6372 MB / 0.5076 GB, free: 96.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/0.8124, allocations: 53.94 kB / 0.5076 GB, free: 96.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8136, allocations: 136.5 kB / 0.5077 GB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000408/0.814, allocations: 176.4 kB / 0.5079 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.8142, allocations: 62.16 kB / 0.508 GB, free: 95.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002321/0.8165, allocations: 1.711 MB / 0.5096 GB, free: 95.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8165, allocations: 0 / 0.5096 GB, free: 95.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002171/0.8187, allocations: 0.7975 MB / 0.5104 GB, free: 95.1 MB / 378.7 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.000525/0.8192, allocations: 249.5 kB / 0.5107 GB, free: 94.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005172/0.8244, allocations: 3.892 MB / 0.5145 GB, free: 92.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8244, allocations: 3.875 kB / 0.5145 GB, free: 92.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003174/0.8276, allocations: 2.484 MB / 0.5169 GB, free: 89.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/0.8319, allocations: 0.7422 MB / 0.5176 GB, free: 88.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.8431, allocations: 9.119 MB / 0.5265 GB, free: 79.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.8451, allocations: 2.726 MB / 0.5292 GB, free: 76.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000967/0.846, allocations: 191.4 kB / 0.5294 GB, free: 76.74 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.8461, allocations: 0 / 0.5294 GB, free: 76.74 MB / 378.7 MB Notification: Performance of Templates: time 0.3547/1.201, allocations: 141.1 MB / 0.6671 GB, free: 141.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches