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.001663/0.001663, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.569/2.569, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4217, allocations: 50.53 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.03494/0.4567, allocations: 17.44 MB / 427.4 MB, free: 92 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.4785, allocations: 5.954 MB / 433.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005594/0.4842, allocations: 115.6 kB / 433.5 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006916/0.4911, allocations: 1.36 MB / 434.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.5038, allocations: 1.763 MB / 436.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006445/0.5104, allocations: 1.09 MB / 437.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01562/0.526, allocations: 6.333 MB / 444 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01365/0.5397, allocations: 5.387 MB / 449.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009235/0.5491, allocations: 2.969 MB / 452.4 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.5594, allocations: 3.464 MB / 455.8 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003755/0.5633, allocations: 0.7891 MB / 456.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/0.5697, allocations: 1.085 MB / 457.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005035/0.5748, allocations: 1.866 MB / 459.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.5859, allocations: 3.357 MB / 462.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02322/0.6092, allocations: 10.56 MB / 473.5 MB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.6093, allocations: 4 kB / 473.5 MB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6094, allocations: 4 kB / 473.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004453/0.6098, allocations: 0 / 473.5 MB, free: 1.785 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.03563/0.6455, allocations: 6.561 MB / 480 MB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.086e-05/0.6456, allocations: 8.031 kB / 480 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.6584, allocations: 1.087 MB / 481.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/0.6752, allocations: 3.685 MB / 484.8 MB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000973/0.6762, allocations: 361.7 kB / 485.2 MB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/0.679, allocations: 495.8 kB / 485.7 MB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/0.7088, allocations: 6.873 MB / 492.5 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003207/0.7092, allocations: 0 / 492.5 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.7114, allocations: 204 kB / 492.7 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004843/0.7119, allocations: 237.8 kB / 493 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/0.736, allocations: 5.933 MB / 498.9 MB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07048/0.8065, allocations: 20.74 MB / 0.5075 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/0.8251, allocations: 9.975 MB / 0.5172 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008941/0.8342, allocations: 2.474 MB / 0.5196 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0269/0.8611, allocations: 6.712 MB / 0.5262 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.093e-05/0.8613, allocations: 64.5 kB / 0.5262 GB, free: 14.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 7.644e-06/0.8613, allocations: 0 / 0.5262 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.04432/0.9056, allocations: 9.674 MB / 0.5357 GB, free: 4.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.9058, allocations: 77.41 kB / 0.5358 GB, free: 4.492 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009541/0.9153, allocations: 3.021 MB / 0.5387 GB, free: 1.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006127/0.916, allocations: 73.7 kB / 0.5388 GB, free: 1.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3805/1.297, allocations: 2.168 MB / 0.5409 GB, free: 121.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.298, allocations: 0.7563 MB / 0.5416 GB, free: 121.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/1.3, allocations: 464.7 kB / 0.5421 GB, free: 121.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/1.3, allocations: 310.2 kB / 0.5424 GB, free: 120.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/1.304, allocations: 1.289 MB / 0.5436 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005097/1.31, allocations: 1.92 MB / 0.5455 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007638/1.317, allocations: 3.34 MB / 0.5488 GB, free: 117.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-05/1.317, allocations: 7.875 kB / 0.5488 GB, free: 117.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01329/1.331, allocations: 4.251 MB / 0.5529 GB, free: 115.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/1.331, allocations: 11.81 kB / 0.5529 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/1.331, allocations: 19.78 kB / 0.553 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/1.335, allocations: 0.7616 MB / 0.5537 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/1.339, allocations: 0.5645 MB / 0.5543 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/1.355, allocations: 10.87 MB / 0.5649 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.359, allocations: 110.4 kB / 0.565 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006647/1.36, allocations: 100.3 kB / 0.5651 GB, free: 107 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.004421/1.365, allocations: 1.626 MB / 0.5667 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.366, allocations: 316.2 kB / 0.567 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.377, allocations: 3.916 MB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.377, allocations: 20 kB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/1.377, allocations: 12 kB / 0.5708 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/1.377, allocations: 11.95 kB / 0.5708 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/1.402, allocations: 8.568 MB / 0.5792 GB, free: 93.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/1.402, allocations: 0 / 0.5792 GB, free: 93.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/1.406, allocations: 351.8 kB / 0.5795 GB, free: 92.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005122/1.411, allocations: 0.9381 MB / 0.5804 GB, free: 91.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000575/1.411, allocations: 63.97 kB / 0.5805 GB, free: 91.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/1.434, allocations: 15.75 MB / 0.5959 GB, free: 75.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.434, allocations: 4.031 kB / 0.5959 GB, free: 75.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.449, allocations: 5.698 MB / 0.6014 GB, free: 69.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003039/1.453, allocations: 0.6846 MB / 0.6021 GB, free: 68.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.454, allocations: 55.98 kB / 0.6022 GB, free: 68.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/1.458, allocations: 107.9 kB / 0.6023 GB, free: 68.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009909/1.459, allocations: 189.7 kB / 0.6025 GB, free: 68.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/1.459, allocations: 67.97 kB / 0.6025 GB, free: 68.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005612/1.465, allocations: 2.079 MB / 0.6045 GB, free: 66.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.382e-06/1.465, allocations: 0 / 0.6045 GB, free: 66.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00641/1.471, allocations: 0.9427 MB / 0.6055 GB, free: 65.24 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.00114/1.472, allocations: 279.1 kB / 0.6057 GB, free: 64.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.483, allocations: 3.901 MB / 0.6095 GB, free: 61.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.483, allocations: 7.938 kB / 0.6096 GB, free: 61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006731/1.49, allocations: 2.646 MB / 0.6121 GB, free: 58.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008204/1.498, allocations: 0.9239 MB / 0.613 GB, free: 57.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/1.526, allocations: 9.371 MB / 0.6222 GB, free: 47.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005856/1.532, allocations: 3.344 MB / 0.6255 GB, free: 44.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.534, allocations: 219.4 kB / 0.6257 GB, free: 44.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/1.534, allocations: 0 / 0.6257 GB, free: 44.38 MB / 462.1 MB Notification: Performance of Templates: time 0.7364/2.27, allocations: 205.9 MB / 0.8268 GB, free: 122.8 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