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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.002042/0.002042, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002884/0.002884, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 50.53 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01415/0.3406, allocations: 12.9 MB / 422.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009056/0.3497, allocations: 4.257 MB / 426.4 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.3526, allocations: 79.69 kB / 426.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.356, allocations: 1.015 MB / 427.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.3611, allocations: 1.235 MB / 428.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.363, allocations: 0.5227 MB / 429.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.3699, allocations: 4.657 MB / 433.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004841/0.3747, allocations: 3.682 MB / 437.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004969/0.3797, allocations: 2.143 MB / 439.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005032/0.3848, allocations: 2.569 MB / 442.3 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00178/0.3866, allocations: 0.5547 MB / 442.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.3892, allocations: 0.6482 MB / 443.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.3911, allocations: 1.519 MB / 445 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004472/0.3956, allocations: 2.489 MB / 447.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009115/0.4047, allocations: 7.442 MB / 455 MB, free: 3.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4047, allocations: 0 / 455 MB, free: 3.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4048, allocations: 0 / 455 MB, free: 3.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002479/0.405, allocations: 0 / 455 MB, free: 3.641 MB / 366.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.01222/0.4172, allocations: 4.718 MB / 459.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4173, allocations: 8.031 kB / 459.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.419, allocations: 0.5268 MB / 460.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005087/0.4241, allocations: 2.594 MB / 462.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.4244, allocations: 267 kB / 463.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007438/0.4251, allocations: 355.9 kB / 463.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0091/0.4342, allocations: 5.021 MB / 468.4 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.081e-05/0.4344, allocations: 15.84 kB / 468.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.4347, allocations: 144 kB / 468.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.4349, allocations: 187 kB / 468.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007884/0.4428, allocations: 4.294 MB / 473.1 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02704/0.4698, allocations: 14.7 MB / 487.8 MB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004703/0.4746, allocations: 4.198 MB / 492 MB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/0.478, allocations: 1.995 MB / 494 MB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.4783, allocations: 135 kB / 494.1 MB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.4784, allocations: 64.5 kB / 494.2 MB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.847e-06/0.4784, allocations: 0 / 494.2 MB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02075/0.4992, allocations: 9.955 MB / 0.4923 GB, free: 1.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4992, allocations: 73.41 kB / 0.4924 GB, free: 1.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.5036, allocations: 2.514 MB / 0.4948 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.5038, allocations: 61.7 kB / 0.4949 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.505, allocations: 1.627 MB / 0.4965 GB, free: 13.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/0.5057, allocations: 0.7316 MB / 0.4972 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007446/0.5064, allocations: 420.3 kB / 0.4976 GB, free: 11.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.5065, allocations: 301.1 kB / 0.4979 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.5086, allocations: 1.297 MB / 0.4992 GB, free: 10.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.5111, allocations: 1.779 MB / 0.5009 GB, free: 8.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.5158, allocations: 3.211 MB / 0.504 GB, free: 5.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.5158, allocations: 0 / 0.504 GB, free: 5.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007429/0.5232, allocations: 4.079 MB / 0.508 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.5233, allocations: 12 kB / 0.508 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.5233, allocations: 12 kB / 0.508 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.5261, allocations: 0.8796 MB / 0.5089 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.5282, allocations: 0.5305 MB / 0.5094 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.5395, allocations: 9.47 MB / 0.5187 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.5417, allocations: 119.8 kB / 0.5188 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/0.5421, allocations: 91.92 kB / 0.5189 GB, free: 5.375 MB / 446.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.002599/0.5447, allocations: 1.227 MB / 0.5201 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008361/0.5455, allocations: 276.7 kB / 0.5203 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006683/0.5522, allocations: 3.711 MB / 0.5239 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.5523, allocations: 24 kB / 0.524 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.5523, allocations: 8 kB / 0.524 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.5523, allocations: 11.95 kB / 0.524 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.5676, allocations: 8.025 MB / 0.5318 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5676, allocations: 0 / 0.5318 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.5693, allocations: 387.7 kB / 0.5322 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.5723, allocations: 0.9291 MB / 0.5331 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.5725, allocations: 55.97 kB / 0.5332 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.275/0.8475, allocations: 11.08 MB / 0.544 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8476, allocations: 7.969 kB / 0.544 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007622/0.8552, allocations: 5.513 MB / 0.5494 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.8568, allocations: 0.6317 MB / 0.55 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/0.8572, allocations: 52.19 kB / 0.55 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.8584, allocations: 113.8 kB / 0.5501 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/0.8589, allocations: 177.3 kB / 0.5503 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.859, allocations: 70.06 kB / 0.5504 GB, free: 117.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.8611, allocations: 1.737 MB / 0.5521 GB, free: 116.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8611, allocations: 0 / 0.5521 GB, free: 116.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0023/0.8634, allocations: 0.7982 MB / 0.5528 GB, free: 116.6 MB / 462.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 {(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.0005269/0.864, allocations: 241 kB / 0.5531 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004997/0.869, allocations: 3.893 MB / 0.5569 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.869, allocations: 3.812 kB / 0.5569 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003118/0.8722, allocations: 2.488 MB / 0.5593 GB, free: 113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/0.8755, allocations: 0.7897 MB / 0.5601 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.8862, allocations: 7.742 MB / 0.5676 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.888, allocations: 2.774 MB / 0.5704 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001869/0.8899, allocations: 0.6868 MB / 0.571 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.8904, allocations: 183.4 kB / 0.5712 GB, free: 101.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.8905, allocations: 0 / 0.5712 GB, free: 101.5 MB / 462.1 MB Notification: Performance of Templates: time 0.06246/0.9529, allocations: 44.7 MB / 0.6149 GB, free: 57.29 MB / 462.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches