Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 198.9 kB / 17.05 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 226.5 MB / 244.3 MB, free: 6.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008178/0.0008179, allocations: 94.16 kB / 296.4 MB, free: 6.789 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002332, allocations: 8 kB / 356.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2657, 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_Steinmetz): time 0.01045/0.2762, allocations: 12.52 MB / 420 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007807/0.2841, allocations: 4.302 MB / 424.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.2864, allocations: 79.69 kB / 424.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.2886, allocations: 0.7651 MB / 425.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.2918, allocations: 1.049 MB / 426.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2934, allocations: 0.6459 MB / 426.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003673/0.2971, allocations: 4.137 MB / 431 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.2992, allocations: 2.21 MB / 433.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.3013, allocations: 1.292 MB / 434.5 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.3042, allocations: 1.618 MB / 436.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.3049, allocations: 212 kB / 436.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.3067, allocations: 419.7 kB / 436.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.3078, allocations: 0.7434 MB / 437.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.3094, allocations: 0.7499 MB / 438.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.3195, allocations: 5.504 MB / 443.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3196, allocations: 0 / 443.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3196, allocations: 0 / 443.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002331/0.3199, allocations: 0 / 443.7 MB, free: 7.453 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01768/0.3376, allocations: 3.778 MB / 447.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3376, allocations: 12.03 kB / 447.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/0.3432, allocations: 0.8348 MB / 448.4 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/0.3479, allocations: 2.272 MB / 450.6 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.3482, allocations: 246.4 kB / 450.9 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009074/0.3491, allocations: 327.9 kB / 451.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009391/0.3585, allocations: 4.235 MB / 455.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.3587, allocations: 11.84 kB / 455.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004825/0.3591, allocations: 136 kB / 455.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.3593, allocations: 150.4 kB / 455.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007128/0.3664, allocations: 3.582 MB / 459.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.3905, allocations: 14.03 MB / 473.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006667/0.3972, allocations: 6.66 MB / 480 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00241/0.3996, allocations: 1.398 MB / 481.4 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007085/0.4067, allocations: 3.909 MB / 485.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.4068, allocations: 51.88 kB / 485.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 2.765e-06/0.4068, allocations: 0 / 485.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01188/0.4187, allocations: 5.953 MB / 491.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4188, allocations: 68.7 kB / 491.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.4216, allocations: 1.782 MB / 493.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4218, allocations: 49.7 kB / 493.2 MB, free: 4.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/0.4228, allocations: 1.446 MB / 494.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.4232, allocations: 477.1 kB / 495.1 MB, free: 2.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.4233, allocations: 35.94 kB / 495.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4234, allocations: 385.9 kB / 495.5 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4246, allocations: 0.6676 MB / 496.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4261, allocations: 1.201 MB / 497.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4276, allocations: 0.8965 MB / 498.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.4276, allocations: 4 kB / 498.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004115/0.4317, allocations: 2.531 MB / 0.4891 GB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4317, allocations: 8.344 kB / 0.4891 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.4318, allocations: 23.98 kB / 0.4891 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009636/0.4327, allocations: 368 kB / 0.4895 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4341, allocations: 375.4 kB / 0.4898 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/0.4413, allocations: 7.68 MB / 0.4973 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4428, allocations: 76.06 kB / 0.4974 GB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.4431, allocations: 79.98 kB / 0.4975 GB, free: 3.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002014/0.4451, allocations: 1.005 MB / 0.4985 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.4456, allocations: 197.5 kB / 0.4986 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1787/0.6243, allocations: 2.277 MB / 0.5009 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.6244, allocations: 16.69 kB / 0.5009 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.6244, allocations: 10.45 kB / 0.5009 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.6245, allocations: 7.062 kB / 0.5009 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/0.6318, allocations: 5.082 MB / 0.5059 GB, free: 86.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.6318, allocations: 9.406 kB / 0.5059 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.6325, allocations: 171.6 kB / 0.506 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.6337, allocations: 0.5241 MB / 0.5065 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.6338, allocations: 39.94 kB / 0.5066 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008297/0.6421, allocations: 12.08 MB / 0.5184 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6421, allocations: 6.219 kB / 0.5184 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/0.6461, allocations: 3.219 MB / 0.5215 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.6466, allocations: 432.3 kB / 0.5219 GB, free: 74.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.6468, allocations: 31.12 kB / 0.522 GB, free: 74.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.6476, allocations: 65.83 kB / 0.522 GB, free: 74.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.6478, allocations: 112.7 kB / 0.5221 GB, free: 74.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.6479, allocations: 41.69 kB / 0.5222 GB, free: 74.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001377/0.6492, allocations: 1.216 MB / 0.5234 GB, free: 73.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6492, allocations: 0 / 0.5234 GB, free: 73.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001679/0.6509, allocations: 0.5909 MB / 0.524 GB, free: 73.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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%) 7,(2,100.0%) 8,(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.000252/0.6512, allocations: 174.2 kB / 0.5241 GB, free: 73.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.6538, allocations: 2.347 MB / 0.5264 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6538, allocations: 4 kB / 0.5264 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.6555, allocations: 1.732 MB / 0.5281 GB, free: 70.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.6574, allocations: 0.5375 MB / 0.5286 GB, free: 70.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.6643, allocations: 7.04 MB / 0.5355 GB, free: 63.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.6655, allocations: 2.269 MB / 0.5377 GB, free: 61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.6659, allocations: 135.4 kB / 0.5379 GB, free: 60.87 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6659, allocations: 0 / 0.5379 GB, free: 60.87 MB / 378.7 MB Notification: Performance of Templates: time 0.1182/0.7841, allocations: 128.8 MB / 0.6636 GB, free: 12.06 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches