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.0009759/0.0009759, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.6 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007865, allocations: 92.41 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002419/0.000242, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.238, allocations: 51.3 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01181/0.2499, allocations: 15.38 MB / 423.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009369/0.2593, allocations: 5.514 MB / 429 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.2618, allocations: 103.6 kB / 429.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.2643, allocations: 1.029 MB / 430.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.2682, allocations: 1.484 MB / 431.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.2699, allocations: 0.7268 MB / 432.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006413/0.2763, allocations: 6.528 MB / 438.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.2817, allocations: 4.493 MB / 443.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.286, allocations: 2.052 MB / 445.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.29, allocations: 2.611 MB / 448 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000678/0.2907, allocations: 328 kB / 448.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.2926, allocations: 0.6245 MB / 448.9 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.2938, allocations: 1.292 MB / 450.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003658/0.2975, allocations: 2.642 MB / 452.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008972/0.3065, allocations: 8.629 MB / 461.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3065, allocations: 4 kB / 461.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3065, allocations: 0 / 461.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002039/0.3068, allocations: 0 / 461.5 MB, free: 6.055 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.0125/0.3193, allocations: 5.52 MB / 467 MB, free: 464 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3193, allocations: 12.03 kB / 467 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.3241, allocations: 1.095 MB / 468.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/0.33, allocations: 3.517 MB / 471.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.3303, allocations: 365.7 kB / 472 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007058/0.331, allocations: 483.9 kB / 472.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.3426, allocations: 6.849 MB / 479.3 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-05/0.3427, allocations: 7.906 kB / 479.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004515/0.3432, allocations: 200 kB / 479.5 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.3434, allocations: 241.8 kB / 479.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3536, allocations: 5.926 MB / 485.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03104/0.3847, allocations: 21.15 MB / 0.4949 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1807/0.5654, allocations: 9.953 MB / 0.5047 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00501/0.5705, allocations: 2.501 MB / 0.5071 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.5823, allocations: 6.767 MB / 0.5137 GB, free: 78.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.5824, allocations: 60.41 kB / 0.5138 GB, free: 78.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=219): time 5.14e-06/0.5824, allocations: 0 / 0.5138 GB, free: 78.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.01606/0.5985, allocations: 9.743 MB / 0.5233 GB, free: 74.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.5985, allocations: 72.75 kB / 0.5234 GB, free: 74.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.6024, allocations: 2.989 MB / 0.5263 GB, free: 72.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.6026, allocations: 61.02 kB / 0.5263 GB, free: 72.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.6037, allocations: 2.169 MB / 0.5285 GB, free: 70.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.6042, allocations: 0.7604 MB / 0.5292 GB, free: 70.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.6043, allocations: 54 kB / 0.5292 GB, free: 70.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6045, allocations: 404.5 kB / 0.5296 GB, free: 69.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.6062, allocations: 1.296 MB / 0.5309 GB, free: 68.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.6081, allocations: 1.924 MB / 0.5328 GB, free: 66.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.6118, allocations: 3.345 MB / 0.536 GB, free: 62.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.6118, allocations: 4 kB / 0.536 GB, free: 62.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005825/0.6176, allocations: 4.257 MB / 0.5402 GB, free: 58.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.6177, allocations: 15.94 kB / 0.5402 GB, free: 58.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.6177, allocations: 23 kB / 0.5402 GB, free: 58.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.62, allocations: 0.7674 MB / 0.541 GB, free: 57.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.6221, allocations: 0.5694 MB / 0.5415 GB, free: 57.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008268/0.6304, allocations: 10.03 MB / 0.5513 GB, free: 46.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.6328, allocations: 115.9 kB / 0.5515 GB, free: 46.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.633, allocations: 107.9 kB / 0.5516 GB, free: 46.35 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.002608/0.6356, allocations: 1.614 MB / 0.5531 GB, free: 44.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/0.6361, allocations: 312.2 kB / 0.5534 GB, free: 44.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/0.6417, allocations: 3.914 MB / 0.5573 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6417, allocations: 20 kB / 0.5573 GB, free: 40.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.6417, allocations: 15.94 kB / 0.5573 GB, free: 40.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.6418, allocations: 11.95 kB / 0.5573 GB, free: 40.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6529, allocations: 8.587 MB / 0.5657 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6529, allocations: 0 / 0.5657 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.6544, allocations: 347.8 kB / 0.566 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.6572, allocations: 0.9461 MB / 0.5669 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.6574, allocations: 59.97 kB / 0.567 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.6687, allocations: 14.46 MB / 0.5811 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6687, allocations: 4 kB / 0.5811 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/0.6764, allocations: 5.706 MB / 0.5867 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.6779, allocations: 0.6846 MB / 0.5874 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/0.6782, allocations: 55.98 kB / 0.5874 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.6795, allocations: 119.9 kB / 0.5875 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004254/0.6799, allocations: 201.5 kB / 0.5877 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6801, allocations: 63.98 kB / 0.5878 GB, free: 8.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002874/0.683, allocations: 2.047 MB / 0.5898 GB, free: 6.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.683, allocations: 0 / 0.5898 GB, free: 6.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002877/0.6859, allocations: 0.9505 MB / 0.5907 GB, free: 5.188 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.0006393/0.6865, allocations: 288.8 kB / 0.591 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005194/0.6917, allocations: 3.893 MB / 0.5948 GB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6917, allocations: 4 kB / 0.5948 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004052/0.6958, allocations: 2.643 MB / 0.5974 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/0.7004, allocations: 0.8676 MB / 0.5982 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.7171, allocations: 11.17 MB / 0.6091 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/0.7202, allocations: 3.336 MB / 0.6124 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.7213, allocations: 215.4 kB / 0.6126 GB, free: 14.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7213, allocations: 0 / 0.6126 GB, free: 14.55 MB / 410.7 MB Notification: Performance of Templates: time 0.3391/1.06, allocations: 203.8 MB / 0.8116 GB, free: 25.65 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