Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009974/0.0009976, allocations: 47.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2503, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01759/0.2679, allocations: 16.81 MB / 418.2 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.279, allocations: 5.68 MB / 423.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003867/0.2829, allocations: 111.6 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.2872, allocations: 1.328 MB / 425.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005919/0.2932, allocations: 1.794 MB / 427.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.2961, allocations: 1.029 MB / 428.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007613/0.3037, allocations: 6.294 MB / 434.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006442/0.3102, allocations: 5.379 MB / 439.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/0.3154, allocations: 2.972 MB / 442.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006097/0.3215, allocations: 3.335 MB / 446.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003012/0.3246, allocations: 0.7891 MB / 446.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.328, allocations: 1.058 MB / 448 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002535/0.3306, allocations: 1.862 MB / 449.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005383/0.336, allocations: 3.353 MB / 453.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.3478, allocations: 10.52 MB / 463.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.3478, allocations: 4 kB / 463.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3479, allocations: 4 kB / 463.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003045/0.3482, allocations: 0 / 463.8 MB, free: 10.27 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.01758/0.3657, allocations: 6.51 MB / 470.3 MB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3658, allocations: 8.031 kB / 470.3 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.3712, allocations: 1.06 MB / 471.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007246/0.3784, allocations: 3.645 MB / 475 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.3789, allocations: 369.7 kB / 475.3 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.3804, allocations: 483.9 kB / 475.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.3932, allocations: 6.884 MB / 482.7 MB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-05/0.3933, allocations: 7.906 kB / 482.7 MB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004985/0.3938, allocations: 196 kB / 482.9 MB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/0.3941, allocations: 237.8 kB / 483.1 MB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.4052, allocations: 5.941 MB / 489.1 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03792/0.4432, allocations: 20.65 MB / 0.4978 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009949/0.4532, allocations: 9.944 MB / 0.5075 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004315/0.4575, allocations: 2.474 MB / 0.5099 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.4699, allocations: 6.486 MB / 0.5162 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.47, allocations: 56.56 kB / 0.5163 GB, free: 7.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.649e-06/0.47, allocations: 0 / 0.5163 GB, free: 7.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.0184/0.4884, allocations: 9.674 MB / 0.5257 GB, free: 13.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.4885, allocations: 77.41 kB / 0.5258 GB, free: 13.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/0.4939, allocations: 2.98 MB / 0.5287 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.4943, allocations: 73.7 kB / 0.5288 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.4958, allocations: 2.172 MB / 0.5309 GB, free: 8.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007475/0.4966, allocations: 0.7508 MB / 0.5316 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008723/0.4975, allocations: 465.1 kB / 0.5321 GB, free: 7.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.4976, allocations: 301.1 kB / 0.5324 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.4996, allocations: 1.289 MB / 0.5336 GB, free: 5.438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.5021, allocations: 1.92 MB / 0.5355 GB, free: 3.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2359/0.738, allocations: 3.337 MB / 0.5388 GB, free: 125.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/0.7381, allocations: 10.16 kB / 0.5388 GB, free: 125.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.009653/0.7477, allocations: 4.253 MB / 0.5429 GB, free: 124.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.7478, allocations: 11.88 kB / 0.5429 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.7478, allocations: 19.59 kB / 0.543 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.7502, allocations: 0.7637 MB / 0.5437 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.7525, allocations: 0.5664 MB / 0.5443 GB, free: 124.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00868/0.7612, allocations: 10.87 MB / 0.5549 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.7635, allocations: 103.1 kB / 0.555 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.7638, allocations: 102.7 kB / 0.5551 GB, free: 115.8 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.002513/0.7663, allocations: 1.614 MB / 0.5566 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/0.767, allocations: 316.5 kB / 0.5569 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005518/0.7725, allocations: 3.902 MB / 0.5608 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7726, allocations: 23.59 kB / 0.5608 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.7726, allocations: 7.75 kB / 0.5608 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.7726, allocations: 9.047 kB / 0.5608 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.7842, allocations: 8.571 MB / 0.5692 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.7843, allocations: 7.844 kB / 0.5692 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.7857, allocations: 347.8 kB / 0.5695 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002801/0.7886, allocations: 0.9272 MB / 0.5704 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/0.7888, allocations: 67.91 kB / 0.5705 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.8003, allocations: 15.7 MB / 0.5858 GB, free: 89.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8004, allocations: 0 / 0.5858 GB, free: 89.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/0.8078, allocations: 5.693 MB / 0.5914 GB, free: 83.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.8094, allocations: 0.6846 MB / 0.592 GB, free: 83.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000481/0.8098, allocations: 52 kB / 0.5921 GB, free: 82.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.8112, allocations: 111.9 kB / 0.5922 GB, free: 82.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.8116, allocations: 189.7 kB / 0.5924 GB, free: 82.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.8118, allocations: 63.98 kB / 0.5924 GB, free: 82.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002437/0.8142, allocations: 2.058 MB / 0.5944 GB, free: 80.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8142, allocations: 0 / 0.5944 GB, free: 80.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002814/0.817, allocations: 0.9462 MB / 0.5954 GB, free: 79.62 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%), (2,26,100.0%), (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.0006162/0.8177, allocations: 260.9 kB / 0.5956 GB, free: 79.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004929/0.8226, allocations: 3.904 MB / 0.5994 GB, free: 75.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.8226, allocations: 2.297 kB / 0.5994 GB, free: 75.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.8258, allocations: 2.638 MB / 0.602 GB, free: 72.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/0.8295, allocations: 0.9068 MB / 0.6029 GB, free: 71.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.8435, allocations: 9.358 MB / 0.612 GB, free: 62.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/0.8459, allocations: 3.332 MB / 0.6153 GB, free: 59.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009972/0.8469, allocations: 215.4 kB / 0.6155 GB, free: 58.85 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.8469, allocations: 0 / 0.6155 GB, free: 58.85 MB / 462.1 MB Notification: Performance of Templates: time 0.4053/1.252, allocations: 204.8 MB / 0.8155 GB, free: 113.2 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches