Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.3 kB / 306.9 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 50.52 MB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2197/0.3298, allocations: 17.22 MB / 374.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.342, allocations: 5.904 MB / 380.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004743/0.3468, allocations: 108.7 kB / 380.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005264/0.3521, allocations: 1.182 MB / 381.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.3605, allocations: 1.615 MB / 383.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.3644, allocations: 1.008 MB / 384.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.376, allocations: 6.999 MB / 391.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007344/0.3834, allocations: 4.518 MB / 396 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006562/0.39, allocations: 2.393 MB / 398.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007659/0.3977, allocations: 3.118 MB / 401.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002561/0.4003, allocations: 467.8 kB / 402 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.4048, allocations: 0.7744 MB / 402.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002927/0.4078, allocations: 1.512 MB / 404.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008336/0.4162, allocations: 2.983 MB / 407.2 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.4273, allocations: 8.873 MB / 416.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4274, allocations: 0 / 416.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4274, allocations: 0 / 416.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.4278, allocations: 0 / 416.1 MB, free: 1.941 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02256/0.4503, allocations: 6.552 MB / 422.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4504, allocations: 12.03 kB / 422.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006432/0.4568, allocations: 1.082 MB / 423.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009164/0.466, allocations: 3.531 MB / 427.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004182/0.4665, allocations: 370.6 kB / 427.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.4686, allocations: 490.2 kB / 428.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.4877, allocations: 6.876 MB / 435 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.4879, allocations: 4 kB / 435 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/0.4893, allocations: 198.3 kB / 435.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002666/0.4895, allocations: 237.8 kB / 435.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.5027, allocations: 5.941 MB / 441.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04102/0.5438, allocations: 21 MB / 462.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.5544, allocations: 9.983 MB / 472.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004422/0.5588, allocations: 2.489 MB / 474.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/0.5726, allocations: 6.743 MB / 481.6 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.5727, allocations: 60.5 kB / 481.6 MB, free: 14.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 4.268e-06/0.5727, allocations: 0 / 481.6 MB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=226): time 0.02098/0.5937, allocations: 9.675 MB / 491.3 MB, free: 4.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.5938, allocations: 77.41 kB / 491.4 MB, free: 4.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00588/0.5997, allocations: 3.014 MB / 494.4 MB, free: 1.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004546/0.6002, allocations: 65.7 kB / 494.5 MB, free: 1.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.602, allocations: 2.172 MB / 496.6 MB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009846/0.603, allocations: 0.7624 MB / 497.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.6043, allocations: 469 kB / 497.9 MB, free: 14.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6044, allocations: 305.1 kB / 498.2 MB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/0.6069, allocations: 1.289 MB / 499.4 MB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.6097, allocations: 1.916 MB / 0.4896 GB, free: 10.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005089/0.6148, allocations: 3.352 MB / 0.4929 GB, free: 6.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.6149, allocations: 4 kB / 0.4929 GB, free: 6.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008418/0.6233, allocations: 4.241 MB / 0.497 GB, free: 2.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.6234, allocations: 16 kB / 0.497 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/0.6234, allocations: 19.94 kB / 0.4971 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/0.6263, allocations: 0.7711 MB / 0.4978 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.6287, allocations: 0.5616 MB / 0.4984 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.6407, allocations: 10.04 MB / 0.5082 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.6433, allocations: 103.8 kB / 0.5083 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/0.6438, allocations: 108 kB / 0.5084 GB, free: 6.258 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003292/0.6471, allocations: 1.621 MB / 0.51 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/0.6481, allocations: 312.2 kB / 0.5103 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007811/0.6559, allocations: 3.91 MB / 0.5141 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.656, allocations: 20 kB / 0.5141 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/0.656, allocations: 12 kB / 0.5141 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.6561, allocations: 7.969 kB / 0.5141 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.675, allocations: 8.574 MB / 0.5225 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.675, allocations: 4 kB / 0.5225 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.6767, allocations: 347.8 kB / 0.5228 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/0.6802, allocations: 0.9457 MB / 0.5237 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003342/0.6806, allocations: 63.98 kB / 0.5238 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2215/0.9021, allocations: 14.42 MB / 0.5379 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9021, allocations: 4.469 kB / 0.5379 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/0.9114, allocations: 5.696 MB / 0.5435 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/0.9133, allocations: 0.6822 MB / 0.5441 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006833/0.914, allocations: 54.97 kB / 0.5442 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.9156, allocations: 107.3 kB / 0.5443 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.9162, allocations: 195.1 kB / 0.5445 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.9164, allocations: 62.27 kB / 0.5445 GB, free: 130.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004312/0.9207, allocations: 2.08 MB / 0.5466 GB, free: 129.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.9207, allocations: 0 / 0.5466 GB, free: 129.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004494/0.9252, allocations: 0.9462 MB / 0.5475 GB, free: 129.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008508/0.9261, allocations: 290.6 kB / 0.5478 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00616/0.9322, allocations: 3.893 MB / 0.5516 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.9323, allocations: 1.375 kB / 0.5516 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003693/0.936, allocations: 2.639 MB / 0.5541 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/0.9401, allocations: 0.8737 MB / 0.555 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.9557, allocations: 11.54 MB / 0.5663 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/0.9584, allocations: 3.343 MB / 0.5695 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.9594, allocations: 211.3 kB / 0.5697 GB, free: 117.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.9594, allocations: 4 kB / 0.5697 GB, free: 117.9 MB / 446.1 MB Notification: Performance of Templates: time 0.3421/1.302, allocations: 205 MB / 0.7699 GB, free: 94.17 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches