Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 101.4 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009687, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2253, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.009677/0.235, allocations: 12.76 MB / 419.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.2412, allocations: 4.205 MB / 424 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.2432, allocations: 75.69 kB / 424.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.2456, allocations: 0.8508 MB / 424.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.2489, allocations: 1.08 MB / 426 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2501, allocations: 470 kB / 426.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00418/0.2542, allocations: 5.367 MB / 431.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.2576, allocations: 3.052 MB / 434.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.2616, allocations: 1.829 MB / 436.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.2653, allocations: 2.459 MB / 439.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.2661, allocations: 340 kB / 439.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.2674, allocations: 451.8 kB / 440 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.2686, allocations: 1.289 MB / 441.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.2712, allocations: 2.239 MB / 443.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.2771, allocations: 7.165 MB / 450.7 MB, free: 20 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2771, allocations: 3.938 kB / 450.7 MB, free: 16 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2771, allocations: 0 / 450.7 MB, free: 16 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001349/0.2773, allocations: 4 kB / 450.7 MB, free: 12 kB / 314.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.009036/0.2863, allocations: 4.691 MB / 455.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2864, allocations: 11.97 kB / 455.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.2879, allocations: 0.5268 MB / 455.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004364/0.2923, allocations: 2.493 MB / 458.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.2925, allocations: 267 kB / 458.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.293, allocations: 351.9 kB / 459 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.3053, allocations: 5.036 MB / 464 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.3054, allocations: 7.906 kB / 464 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/0.3058, allocations: 144 kB / 464.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.3059, allocations: 179.1 kB / 464.4 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009915/0.3159, allocations: 4.298 MB / 468.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.3393, allocations: 14.89 MB / 483.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/0.3436, allocations: 4.187 MB / 487.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/0.3466, allocations: 1.995 MB / 489.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.3469, allocations: 131.1 kB / 489.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.347, allocations: 56.56 kB / 489.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 4.579e-06/0.347, allocations: 4 kB / 489.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01908/0.3661, allocations: 9.951 MB / 499.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3662, allocations: 81.39 kB / 500 MB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/0.3698, allocations: 2.502 MB / 0.4907 GB, free: 11.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.3701, allocations: 61.7 kB / 0.4907 GB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.3712, allocations: 1.627 MB / 0.4923 GB, free: 9.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000584/0.3718, allocations: 0.7239 MB / 0.493 GB, free: 8.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006386/0.3724, allocations: 420.2 kB / 0.4934 GB, free: 8.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.3725, allocations: 305.1 kB / 0.4937 GB, free: 8.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.3744, allocations: 1.297 MB / 0.495 GB, free: 6.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.3765, allocations: 1.778 MB / 0.4967 GB, free: 4.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.3806, allocations: 3.212 MB / 0.4999 GB, free: 1.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.3806, allocations: 8 kB / 0.4999 GB, free: 1.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.1946/0.5752, allocations: 4.069 MB / 0.5038 GB, free: 88.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.5752, allocations: 11.91 kB / 0.5039 GB, free: 88.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.5753, allocations: 12.97 kB / 0.5039 GB, free: 88.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/0.578, allocations: 0.8808 MB / 0.5047 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.5802, allocations: 0.5278 MB / 0.5052 GB, free: 88.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008196/0.5884, allocations: 8.728 MB / 0.5138 GB, free: 82.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.5905, allocations: 113.7 kB / 0.5139 GB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.5907, allocations: 90.88 kB / 0.514 GB, free: 82.06 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 (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.001814/0.5925, allocations: 1.219 MB / 0.5152 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.5929, allocations: 282.8 kB / 0.5154 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/0.5985, allocations: 3.714 MB / 0.519 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.5985, allocations: 23.53 kB / 0.5191 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.5986, allocations: 5.938 kB / 0.5191 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.5986, allocations: 17.16 kB / 0.5191 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.6114, allocations: 8.076 MB / 0.527 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6115, allocations: 7.75 kB / 0.527 GB, free: 73.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.6129, allocations: 387.8 kB / 0.5274 GB, free: 72.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/0.6157, allocations: 0.9324 MB / 0.5283 GB, free: 72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.6159, allocations: 55.97 kB / 0.5283 GB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008407/0.6244, allocations: 10.21 MB / 0.5383 GB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6244, allocations: 4 kB / 0.5383 GB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05237/0.6768, allocations: 38.46 MB / 0.5758 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/0.6783, allocations: 0.6343 MB / 0.5765 GB, free: 21.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.6786, allocations: 55.92 kB / 0.5765 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.68, allocations: 116 kB / 0.5766 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004331/0.6804, allocations: 177.8 kB / 0.5768 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6806, allocations: 63.98 kB / 0.5769 GB, free: 21.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002106/0.6827, allocations: 1.731 MB / 0.5785 GB, free: 19.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6827, allocations: 0 / 0.5785 GB, free: 19.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004009/0.6867, allocations: 1.143 MB / 0.5797 GB, free: 18.2 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 (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 {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (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.0006097/0.6873, allocations: 243.3 kB / 0.5799 GB, free: 17.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004952/0.6923, allocations: 3.878 MB / 0.5837 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6923, allocations: 4 kB / 0.5837 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003064/0.6954, allocations: 2.475 MB / 0.5861 GB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.6986, allocations: 0.7402 MB / 0.5868 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.7127, allocations: 11.71 MB / 0.5983 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/0.7156, allocations: 2.841 MB / 0.601 GB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002382/0.718, allocations: 0.7191 MB / 0.6017 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/0.7187, allocations: 187.4 kB / 0.6019 GB, free: 11.15 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7187, allocations: 4 kB / 0.6019 GB, free: 11.15 MB / 394.7 MB Notification: Performance of Templates: time 0.1241/0.8428, allocations: 54.87 MB / 0.6555 GB, free: 4.664 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches