Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007977/0.0007978, allocations: 102.8 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002268/0.0002268, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2008, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.5028, allocations: 120.6 MB / 0.5168 GB, free: 96.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5031, allocations: 95.23 kB / 0.5169 GB, free: 96.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2792/0.7823, allocations: 136.3 MB / 0.65 GB, free: 7.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7824, allocations: 0 / 0.65 GB, free: 7.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004698/0.7828, allocations: 127.8 kB / 0.6501 GB, free: 7.5 MB / 426.7 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.01614/0.799, allocations: 5.278 MB / 0.6553 GB, free: 2.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.799, allocations: 8.031 kB / 0.6553 GB, free: 2.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005923/0.805, allocations: 1.013 MB / 0.6563 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009069/0.8141, allocations: 3.934 MB / 0.6601 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.8145, allocations: 362.1 kB / 0.6605 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.8159, allocations: 492.2 kB / 0.6609 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.8305, allocations: 6.751 MB / 0.6675 GB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.8306, allocations: 11.88 kB / 0.6675 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008325/0.8315, allocations: 204 kB / 0.6677 GB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/0.8317, allocations: 233.8 kB / 0.668 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2572/1.089, allocations: 5.582 MB / 0.6734 GB, free: 50.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03689/1.126, allocations: 21.09 MB / 0.694 GB, free: 47.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/1.134, allocations: 9.959 MB / 0.7037 GB, free: 40.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004389/1.138, allocations: 2.492 MB / 0.7062 GB, free: 40.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/1.15, allocations: 6.768 MB / 0.7128 GB, free: 39.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/1.15, allocations: 66.23 kB / 0.7128 GB, free: 39.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=219): time 4.509e-06/1.15, allocations: 0 / 0.7128 GB, free: 39.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=226): time 0.01711/1.167, allocations: 9.732 MB / 0.7223 GB, free: 37.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.167, allocations: 76.16 kB / 0.7224 GB, free: 37.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004128/1.171, allocations: 2.981 MB / 0.7253 GB, free: 36.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003492/1.172, allocations: 64.17 kB / 0.7254 GB, free: 36.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/1.173, allocations: 2.163 MB / 0.7275 GB, free: 36.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006619/1.173, allocations: 0.7566 MB / 0.7282 GB, free: 35.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/1.174, allocations: 50.88 kB / 0.7283 GB, free: 35.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/1.174, allocations: 401.7 kB / 0.7287 GB, free: 35.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.175, allocations: 1.274 MB / 0.7299 GB, free: 35.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.177, allocations: 1.859 MB / 0.7317 GB, free: 34.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/1.181, allocations: 3.255 MB / 0.7349 GB, free: 32.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/1.181, allocations: 7.125 kB / 0.7349 GB, free: 32.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.006242/1.188, allocations: 4.172 MB / 0.739 GB, free: 31.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.188, allocations: 13.44 kB / 0.739 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.188, allocations: 17.5 kB / 0.739 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/1.189, allocations: 0.66 MB / 0.7397 GB, free: 30.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.191, allocations: 0.5483 MB / 0.7402 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008029/1.199, allocations: 10.03 MB / 0.75 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.202, allocations: 112.3 kB / 0.7501 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/1.202, allocations: 107.4 kB / 0.7502 GB, free: 23.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (271): * Single equations (assignments): 266 * 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%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002941/1.205, allocations: 1.614 MB / 0.7518 GB, free: 22.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007813/1.206, allocations: 316.7 kB / 0.7521 GB, free: 22.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/1.212, allocations: 3.903 MB / 0.7559 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.212, allocations: 23.56 kB / 0.7559 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.212, allocations: 7.875 kB / 0.7559 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.212, allocations: 17.36 kB / 0.7559 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.225, allocations: 8.543 MB / 0.7643 GB, free: 17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.225, allocations: 2.938 kB / 0.7643 GB, free: 17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.227, allocations: 348.5 kB / 0.7646 GB, free: 16.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/1.229, allocations: 0.8135 MB / 0.7654 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/1.229, allocations: 63.11 kB / 0.7655 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.241, allocations: 14.43 MB / 0.7796 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.241, allocations: 3.969 kB / 0.7796 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008385/1.25, allocations: 5.696 MB / 0.7851 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.252, allocations: 0.6948 MB / 0.7858 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006324/1.252, allocations: 58 kB / 0.7859 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.254, allocations: 117 kB / 0.786 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/1.254, allocations: 197 kB / 0.7862 GB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/1.255, allocations: 63.52 kB / 0.7862 GB, free: 2.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002986/1.258, allocations: 2.046 MB / 0.7882 GB, free: 1.566 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.258, allocations: 3.281 kB / 0.7882 GB, free: 1.566 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00369/1.261, allocations: 0.9939 MB / 0.7892 GB, free: 1.469 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (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 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008588/1.262, allocations: 474.6 kB / 0.7896 GB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005512/1.268, allocations: 3.866 MB / 0.7934 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.268, allocations: 0 / 0.7934 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004146/1.272, allocations: 2.656 MB / 0.796 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005004/1.277, allocations: 0.89 MB / 0.7969 GB, free: 13.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.295, allocations: 11.13 MB / 0.8078 GB, free: 7.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.298, allocations: 3.332 MB / 0.811 GB, free: 4.684 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.299, allocations: 215.2 kB / 0.8112 GB, free: 4.484 MB / 458.7 MB Notification: Performance of SimCode: time 1.953e-06/1.299, allocations: 0 / 0.8112 GB, free: 4.484 MB / 458.7 MB Notification: Performance of Templates: time 0.3706/1.67, allocations: 205 MB / 1.011 GB, free: 9.773 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches