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_Steinmetz.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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008926, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.0008528/0.0008528, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.267/1.267, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002492, allocations: 9.281 kB / 300.7 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08636, allocations: 50.43 MB / 351.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01074/0.09713, allocations: 10.97 MB / 362.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006772/0.1039, allocations: 4.209 MB / 366.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.1051, allocations: 71.69 kB / 366.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.1068, allocations: 0.7696 MB / 367.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1095, allocations: 1.172 MB / 368.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.1109, allocations: 0.6125 MB / 369 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.1145, allocations: 2.795 MB / 371.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.1169, allocations: 2.21 MB / 374 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.1184, allocations: 1.261 MB / 375.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.12, allocations: 1.467 MB / 376.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.1203, allocations: 208 kB / 376.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.1212, allocations: 371.8 kB / 377.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005775/0.1217, allocations: 0.7163 MB / 378 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.1224, allocations: 0.7421 MB / 378.7 MB, free: 28 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.1266, allocations: 5.442 MB / 384.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1266, allocations: 4 kB / 384.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1266, allocations: 0 / 384.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.404e-05/0.1267, allocations: 4 kB / 384.2 MB, free: 10.56 MB / 318.1 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.008236/0.1349, allocations: 3.724 MB / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.135, allocations: 8.031 kB / 387.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/0.1392, allocations: 0.8232 MB / 388.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.1431, allocations: 2.279 MB / 391 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.1433, allocations: 250.4 kB / 391.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004304/0.1438, allocations: 331.8 kB / 391.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006335/0.1501, allocations: 4.212 MB / 395.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.325e-05/0.1502, allocations: 11.84 kB / 395.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.1505, allocations: 136 kB / 395.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.1506, allocations: 142.4 kB / 396.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005416/0.156, allocations: 3.59 MB / 399.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/0.1738, allocations: 13.88 MB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/0.1796, allocations: 6.542 MB / 420.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004658/0.1843, allocations: 3.214 MB / 423.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1843, allocations: 47.88 kB / 423.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=140): time 2.716e-06/0.1843, allocations: 0 / 423.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=143): time 0.1807/0.365, allocations: 5.994 MB / 429.3 MB, free: 59.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3651, allocations: 66.25 kB / 429.4 MB, free: 59.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.3673, allocations: 1.719 MB / 431.1 MB, free: 59.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.3673, allocations: 51.88 kB / 431.2 MB, free: 59.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/0.3683, allocations: 1.438 MB / 432.6 MB, free: 58.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.3686, allocations: 498.8 kB / 433.1 MB, free: 58.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.3687, allocations: 34.56 kB / 433.1 MB, free: 58.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3688, allocations: 375.8 kB / 433.5 MB, free: 58.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3699, allocations: 0.6961 MB / 434.2 MB, free: 58.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.3712, allocations: 1.197 MB / 435.4 MB, free: 57.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.3725, allocations: 0.9116 MB / 436.3 MB, free: 57.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3726, allocations: 4.594 kB / 436.3 MB, free: 57.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004351/0.3769, allocations: 2.575 MB / 438.9 MB, free: 56.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.377, allocations: 11.03 kB / 438.9 MB, free: 56.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.377, allocations: 14.91 kB / 438.9 MB, free: 56.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009092/0.3779, allocations: 363 kB / 439.3 MB, free: 56.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3793, allocations: 381.8 kB / 439.6 MB, free: 56.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.3851, allocations: 7.779 MB / 447.4 MB, free: 49.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.3866, allocations: 82.84 kB / 447.5 MB, free: 49.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.3868, allocations: 75.78 kB / 447.6 MB, free: 49.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (196): * Single equations (assignments): 191 * 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,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001573/0.3884, allocations: 1.001 MB / 448.6 MB, free: 49.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.3886, allocations: 196.3 kB / 448.8 MB, free: 49.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.392, allocations: 2.346 MB / 451.1 MB, free: 48.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.392, allocations: 15.81 kB / 451.1 MB, free: 48.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3921, allocations: 7.938 kB / 451.1 MB, free: 48.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3921, allocations: 7.312 kB / 451.1 MB, free: 48.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/0.3989, allocations: 5.151 MB / 456.3 MB, free: 45.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3989, allocations: 0 / 456.3 MB, free: 45.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.3996, allocations: 188.5 kB / 456.5 MB, free: 45.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.4008, allocations: 0.5335 MB / 457 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.4009, allocations: 39.36 kB / 457 MB, free: 45.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008176/0.4091, allocations: 12.22 MB / 469.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4091, allocations: 6.656 kB / 469.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.413, allocations: 3.39 MB / 472.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/0.4136, allocations: 434.6 kB / 473.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.4139, allocations: 28 kB / 473.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/0.4147, allocations: 75.94 kB / 473.2 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.4149, allocations: 105.2 kB / 473.3 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.4149, allocations: 36 kB / 473.3 MB, free: 28.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.4162, allocations: 1.18 MB / 474.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4162, allocations: 0 / 474.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001808/0.418, allocations: 0.5781 MB / 475.1 MB, free: 27.21 MB / 350.1 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 (92): * Single equations (assignments): 86 * 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%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(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.0002526/0.4183, allocations: 172 kB / 475.3 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.4212, allocations: 2.402 MB / 477.7 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4212, allocations: 0 / 477.7 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.4231, allocations: 1.788 MB / 479.4 MB, free: 22.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.4247, allocations: 0.4981 MB / 479.9 MB, free: 22.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.4324, allocations: 7.082 MB / 487 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.4338, allocations: 2.37 MB / 489.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.4352, allocations: 409 kB / 489.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.4354, allocations: 123.4 kB / 489.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4354, allocations: 0 / 489.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Templates: time 0.04095/0.4764, allocations: 27.24 MB / 0.505 GB, free: 1.242 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches