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.001072/0.001072, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001194/0.001194, allocations: 184 kB / 17.2 MB, free: 5.914 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.343/1.343, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 7.594 kB / 300.7 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08956, allocations: 50.42 MB / 351.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01382/0.1034, allocations: 13.54 MB / 364.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009861/0.1133, allocations: 5.456 MB / 370.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.1161, allocations: 95.56 kB / 370.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.1195, allocations: 1.049 MB / 371.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.1244, allocations: 1.527 MB / 372.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1265, allocations: 0.7027 MB / 373.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006278/0.1328, allocations: 4.153 MB / 377.7 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005099/0.1379, allocations: 3.542 MB / 381.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.1409, allocations: 1.946 MB / 383.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.1447, allocations: 2.327 MB / 385.5 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.1458, allocations: 320 kB / 385.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.1478, allocations: 0.5387 MB / 386.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.1494, allocations: 1.23 MB / 387.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.1512, allocations: 1.136 MB / 388.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008309/0.1595, allocations: 8.527 MB / 397.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1595, allocations: 0 / 397.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1595, allocations: 3.938 kB / 397.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002571/0.1598, allocations: 4 kB / 397.2 MB, free: 13.39 MB / 334.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.01418/0.174, allocations: 5.532 MB / 402.8 MB, free: 7.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.174, allocations: 8.031 kB / 402.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.1802, allocations: 1.055 MB / 403.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007732/0.188, allocations: 3.432 MB / 407.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.1883, allocations: 361.8 kB / 407.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.1894, allocations: 487.9 kB / 408.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.2014, allocations: 6.814 MB / 414.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.925e-05/0.2015, allocations: 7.984 kB / 414.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/0.202, allocations: 196 kB / 415.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002117/0.2022, allocations: 237.8 kB / 415.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.2122, allocations: 5.926 MB / 421.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.4067, allocations: 20.98 MB / 442.3 MB, free: 50.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/0.4141, allocations: 9.939 MB / 452.2 MB, free: 41.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008697/0.4228, allocations: 5.432 MB / 457.6 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4229, allocations: 60.34 kB / 457.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=227): time 4.258e-06/0.4229, allocations: 3.938 kB / 457.7 MB, free: 38.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=234): time 0.01545/0.4384, allocations: 9.917 MB / 467.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.4384, allocations: 75.34 kB / 467.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.4418, allocations: 2.914 MB / 470.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.4421, allocations: 73.7 kB / 470.7 MB, free: 29.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.4432, allocations: 2.148 MB / 472.8 MB, free: 26.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005303/0.4437, allocations: 0.7799 MB / 473.6 MB, free: 26.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.4438, allocations: 56 kB / 473.6 MB, free: 26.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.444, allocations: 415 kB / 474 MB, free: 25.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4457, allocations: 1.325 MB / 475.4 MB, free: 24.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4475, allocations: 1.928 MB / 477.3 MB, free: 22.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.4495, allocations: 1.63 MB / 478.9 MB, free: 20.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4495, allocations: 8 kB / 478.9 MB, free: 20.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.005697/0.4552, allocations: 4.307 MB / 483.2 MB, free: 16.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4552, allocations: 12 kB / 483.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.4553, allocations: 20 kB / 483.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.4576, allocations: 0.7798 MB / 484.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.4598, allocations: 0.5734 MB / 484.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008288/0.4681, allocations: 10.22 MB / 494.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.4706, allocations: 111.8 kB / 495 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/0.4709, allocations: 104.2 kB / 495.1 MB, free: 3.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * 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 initialization (284): * Single equations (assignments): 279 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002524/0.4734, allocations: 1.614 MB / 496.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006802/0.4741, allocations: 320.2 kB / 497 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006468/0.4806, allocations: 3.997 MB / 0.4892 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.4806, allocations: 28 kB / 0.4893 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.4807, allocations: 15.95 kB / 0.4893 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.4807, allocations: 11.95 kB / 0.4893 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.4951, allocations: 8.691 MB / 0.4978 GB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4952, allocations: 0 / 0.4978 GB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.4968, allocations: 367.8 kB / 0.4981 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.4998, allocations: 0.9282 MB / 0.499 GB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/0.5001, allocations: 63.97 kB / 0.4991 GB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.5155, allocations: 14.64 MB / 0.5134 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5155, allocations: 0 / 0.5134 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009297/0.5249, allocations: 6.007 MB / 0.5193 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/0.5266, allocations: 0.6924 MB / 0.5199 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005285/0.5272, allocations: 59.98 kB / 0.52 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.5286, allocations: 127.9 kB / 0.5201 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/0.529, allocations: 193.7 kB / 0.5203 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.5291, allocations: 63.98 kB / 0.5204 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002837/0.532, allocations: 2.003 MB / 0.5223 GB, free: 10.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.532, allocations: 3.719 kB / 0.5223 GB, free: 10.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002813/0.5348, allocations: 0.9466 MB / 0.5233 GB, free: 9.852 MB / 398.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 (164): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005114/0.5353, allocations: 240 kB / 0.5235 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005785/0.5411, allocations: 3.975 MB / 0.5274 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5412, allocations: 0 / 0.5274 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003838/0.545, allocations: 2.687 MB / 0.53 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.5482, allocations: 0.8497 MB / 0.5308 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.5637, allocations: 11.26 MB / 0.5418 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/0.567, allocations: 3.515 MB / 0.5452 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002546/0.5696, allocations: 0.7566 MB / 0.546 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/0.5701, allocations: 195.4 kB / 0.5462 GB, free: 2.152 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5701, allocations: 0 / 0.5462 GB, free: 2.152 MB / 414.1 MB Notification: Performance of Templates: time 0.2284/0.7985, allocations: 46.93 MB / 0.592 GB, free: 121.9 MB / 446.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../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