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.001376/0.001375, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 200.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 55.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2634, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01756/0.281, allocations: 17.44 MB / 427.4 MB, free: 32 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2917, allocations: 5.961 MB / 433.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.2946, allocations: 115.6 kB / 433.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.2981, allocations: 1.359 MB / 434.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.3033, allocations: 1.755 MB / 436.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.306, allocations: 1.077 MB / 437.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007147/0.3132, allocations: 6.345 MB / 444 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006079/0.3193, allocations: 5.387 MB / 449.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.3246, allocations: 2.973 MB / 452.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005557/0.3302, allocations: 3.46 MB / 455.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.3322, allocations: 0.793 MB / 456.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.3354, allocations: 1.089 MB / 457.7 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002233/0.3377, allocations: 1.862 MB / 459.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004468/0.3422, allocations: 3.357 MB / 462.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3524, allocations: 10.56 MB / 473.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3524, allocations: 0 / 473.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3524, allocations: 0 / 473.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002412/0.3526, allocations: 0 / 473.5 MB, free: 1.73 MB / 382.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.01666/0.3693, allocations: 6.561 MB / 480 MB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3694, allocations: 12.03 kB / 480.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.3749, allocations: 1.091 MB / 481.1 MB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006742/0.3816, allocations: 3.681 MB / 484.8 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.382, allocations: 365.7 kB / 485.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.3831, allocations: 487.9 kB / 485.7 MB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.3963, allocations: 6.865 MB / 492.5 MB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.3964, allocations: 11.89 kB / 492.5 MB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005898/0.397, allocations: 200 kB / 492.7 MB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.3972, allocations: 245.8 kB / 493 MB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.4083, allocations: 5.929 MB / 498.9 MB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03205/0.4404, allocations: 20.73 MB / 0.5075 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009084/0.4495, allocations: 9.975 MB / 0.5172 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.4534, allocations: 2.481 MB / 0.5196 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.464, allocations: 6.716 MB / 0.5262 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.4641, allocations: 56.56 kB / 0.5262 GB, free: 14.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.318e-06/0.4641, allocations: 0 / 0.5262 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01783/0.482, allocations: 9.681 MB / 0.5357 GB, free: 4.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.482, allocations: 73.41 kB / 0.5358 GB, free: 4.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004297/0.4863, allocations: 3.017 MB / 0.5387 GB, free: 1.398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002528/0.4866, allocations: 65.7 kB / 0.5388 GB, free: 1.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2051/0.6917, allocations: 2.166 MB / 0.5409 GB, free: 121.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.6928, allocations: 0.7586 MB / 0.5416 GB, free: 121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009919/0.6938, allocations: 466.6 kB / 0.5421 GB, free: 121 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.6938, allocations: 311.7 kB / 0.5424 GB, free: 120.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.6962, allocations: 1.292 MB / 0.5436 GB, free: 120.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.6984, allocations: 1.926 MB / 0.5455 GB, free: 119.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.702, allocations: 3.335 MB / 0.5488 GB, free: 117.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.702, allocations: 3.938 kB / 0.5488 GB, free: 117.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006196/0.7082, allocations: 4.244 MB / 0.5529 GB, free: 115.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.7083, allocations: 15.41 kB / 0.5529 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.7083, allocations: 21.19 kB / 0.5529 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.7106, allocations: 0.775 MB / 0.5537 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.7127, allocations: 0.5587 MB / 0.5543 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008379/0.7211, allocations: 10.87 MB / 0.5649 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.7235, allocations: 106.6 kB / 0.565 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.7238, allocations: 107.7 kB / 0.5651 GB, free: 106.9 MB / 462.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.002622/0.7264, allocations: 1.627 MB / 0.5667 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/0.7271, allocations: 316.2 kB / 0.567 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005339/0.7324, allocations: 3.91 MB / 0.5708 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7324, allocations: 20 kB / 0.5708 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.7325, allocations: 14.52 kB / 0.5708 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.7325, allocations: 11.95 kB / 0.5708 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.7432, allocations: 8.566 MB / 0.5792 GB, free: 92.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.7432, allocations: 4 kB / 0.5792 GB, free: 92.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.7446, allocations: 343.5 kB / 0.5795 GB, free: 92.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.7472, allocations: 0.9467 MB / 0.5804 GB, free: 91.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.7474, allocations: 55.98 kB / 0.5805 GB, free: 91.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.7587, allocations: 15.76 MB / 0.5959 GB, free: 75.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7587, allocations: 96 / 0.5959 GB, free: 75.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/0.766, allocations: 5.702 MB / 0.6015 GB, free: 69.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.7674, allocations: 0.6885 MB / 0.6021 GB, free: 68.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.7679, allocations: 48.08 kB / 0.6022 GB, free: 68.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.7693, allocations: 115.9 kB / 0.6023 GB, free: 68.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/0.7697, allocations: 185.7 kB / 0.6025 GB, free: 68.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.7698, allocations: 63.98 kB / 0.6025 GB, free: 68.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002503/0.7723, allocations: 2.079 MB / 0.6046 GB, free: 66.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7724, allocations: 0 / 0.6046 GB, free: 66.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002824/0.7752, allocations: 0.9467 MB / 0.6055 GB, free: 65.11 MB / 462.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.0006103/0.7758, allocations: 265.1 kB / 0.6057 GB, free: 64.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004877/0.7807, allocations: 3.91 MB / 0.6096 GB, free: 60.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7807, allocations: 0 / 0.6096 GB, free: 60.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003199/0.7839, allocations: 2.642 MB / 0.6121 GB, free: 58.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/0.7877, allocations: 0.9285 MB / 0.613 GB, free: 57.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.8015, allocations: 9.374 MB / 0.6222 GB, free: 47.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/0.8038, allocations: 3.34 MB / 0.6255 GB, free: 44.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009608/0.8048, allocations: 219.4 kB / 0.6257 GB, free: 44.26 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8048, allocations: 0 / 0.6257 GB, free: 44.26 MB / 462.1 MB Notification: Performance of Templates: time 0.3595/1.164, allocations: 205.4 MB / 0.8262 GB, free: 123.6 MB / 0.5294 GB 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