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.001498/0.001498, allocations: 196 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 226.6 MB / 244.3 MB, free: 8.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000771/0.0007709, allocations: 90.88 kB / 296.4 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.0002472, allocations: 11.98 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01218/0.2886, allocations: 15.35 MB / 422.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.2995, allocations: 5.514 MB / 428.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.3035, allocations: 107.5 kB / 428.5 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00411/0.3077, allocations: 1.025 MB / 429.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007131/0.3148, allocations: 1.469 MB / 431 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.3184, allocations: 0.7273 MB / 431.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008826/0.3272, allocations: 6.449 MB / 438.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00745/0.3347, allocations: 3.557 MB / 441.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.3393, allocations: 2.039 MB / 443.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/0.3444, allocations: 2.615 MB / 446.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0016/0.346, allocations: 328 kB / 446.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.3496, allocations: 0.5778 MB / 447.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002638/0.3523, allocations: 1.292 MB / 448.5 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003231/0.3555, allocations: 1.14 MB / 449.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.366, allocations: 8.625 MB / 458.3 MB, free: 8.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3661, allocations: 0 / 458.3 MB, free: 8.816 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3661, allocations: 0 / 458.3 MB, free: 8.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004132/0.3665, allocations: 4 kB / 458.3 MB, free: 8.812 MB / 330.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.01693/0.3835, allocations: 5.571 MB / 463.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3835, allocations: 8.031 kB / 463.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006041/0.3896, allocations: 1.102 MB / 465 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009575/0.3992, allocations: 3.42 MB / 468.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005196/0.3997, allocations: 373.7 kB / 468.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/0.4017, allocations: 483.6 kB / 469.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.4192, allocations: 6.845 MB / 476.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.4195, allocations: 8 kB / 476.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/0.4206, allocations: 196 kB / 476.3 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002732/0.4209, allocations: 241.8 kB / 476.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.4333, allocations: 5.929 MB / 482.5 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/0.4734, allocations: 21.12 MB / 0.4918 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2148/0.6883, allocations: 9.948 MB / 0.5015 GB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005166/0.6935, allocations: 2.5 MB / 0.5039 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.7044, allocations: 6.768 MB / 0.5105 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.7045, allocations: 68.2 kB / 0.5106 GB, free: 81.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=219): time 4.559e-06/0.7045, allocations: 0 / 0.5106 GB, free: 81.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.01699/0.7215, allocations: 9.786 MB / 0.5202 GB, free: 77.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.7216, allocations: 81.36 kB / 0.5202 GB, free: 77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/0.7252, allocations: 2.974 MB / 0.5231 GB, free: 75.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.7254, allocations: 72.66 kB / 0.5232 GB, free: 75.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/0.7264, allocations: 2.167 MB / 0.5253 GB, free: 73.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.7268, allocations: 0.7527 MB / 0.5261 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7269, allocations: 55.66 kB / 0.5261 GB, free: 72.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7271, allocations: 412 kB / 0.5265 GB, free: 72.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.7287, allocations: 1.296 MB / 0.5278 GB, free: 71.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.7304, allocations: 1.92 MB / 0.5297 GB, free: 69.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.7323, allocations: 1.599 MB / 0.5312 GB, free: 67.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.7323, allocations: 4 kB / 0.5312 GB, free: 67.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005492/0.7378, allocations: 4.249 MB / 0.5354 GB, free: 63.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7378, allocations: 12 kB / 0.5354 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.7379, allocations: 16.5 kB / 0.5354 GB, free: 63.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.7403, allocations: 0.7809 MB / 0.5362 GB, free: 62.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.7422, allocations: 0.5695 MB / 0.5367 GB, free: 61.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007526/0.7498, allocations: 10.03 MB / 0.5465 GB, free: 51.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.7521, allocations: 117 kB / 0.5466 GB, free: 51.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.7523, allocations: 104 kB / 0.5467 GB, free: 51.12 MB / 378.7 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 (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 (278): * Single equations (assignments): 273 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00259/0.7549, allocations: 1.613 MB / 0.5483 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006037/0.7555, allocations: 316.2 kB / 0.5486 GB, free: 49.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/0.7609, allocations: 3.914 MB / 0.5524 GB, free: 45.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.761, allocations: 23.95 kB / 0.5524 GB, free: 45.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.761, allocations: 12 kB / 0.5524 GB, free: 45.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.761, allocations: 11.95 kB / 0.5525 GB, free: 45.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.7745, allocations: 8.58 MB / 0.5608 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.7746, allocations: 0 / 0.5608 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.776, allocations: 347.8 kB / 0.5612 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/0.7789, allocations: 0.9522 MB / 0.5621 GB, free: 35.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.7791, allocations: 59.97 kB / 0.5622 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.7901, allocations: 14.45 MB / 0.5763 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7902, allocations: 0 / 0.5763 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.798, allocations: 5.704 MB / 0.5818 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/0.7999, allocations: 0.6924 MB / 0.5825 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.8003, allocations: 48 kB / 0.5826 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.8016, allocations: 123.9 kB / 0.5827 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/0.8021, allocations: 201.6 kB / 0.5829 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.8022, allocations: 59.98 kB / 0.5829 GB, free: 12.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002739/0.8049, allocations: 2.051 MB / 0.5849 GB, free: 10.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.805, allocations: 0 / 0.5849 GB, free: 10.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002904/0.8079, allocations: 0.9478 MB / 0.5859 GB, free: 9.965 MB / 378.7 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 (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,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(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.000582/0.8085, allocations: 249.5 kB / 0.5861 GB, free: 9.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004942/0.8134, allocations: 3.901 MB / 0.5899 GB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8134, allocations: 0 / 0.5899 GB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.8166, allocations: 2.646 MB / 0.5925 GB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/0.8204, allocations: 0.8946 MB / 0.5934 GB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.8373, allocations: 11.17 MB / 0.6043 GB, free: 6.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/0.8405, allocations: 3.343 MB / 0.6075 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.8416, allocations: 219.4 kB / 0.6077 GB, free: 3.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8416, allocations: 0 / 0.6077 GB, free: 3.34 MB / 394.7 MB Notification: Performance of Templates: time 0.3485/1.19, allocations: 203.9 MB / 0.8069 GB, free: 32.3 MB / 458.7 MB 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/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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches