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.0009865/0.0009866, 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.29/1.29, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007789/0.000779, allocations: 105 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.0002267, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2045, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.5121, allocations: 112 MB / 0.5085 GB, free: 97.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5124, allocations: 99.39 kB / 0.5086 GB, free: 97.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1629/0.6754, allocations: 83.8 MB / 0.5904 GB, free: 20.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6754, allocations: 0 / 0.5904 GB, free: 20.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001946/0.6756, allocations: 83.86 kB / 0.5905 GB, free: 20.84 MB / 378.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.008051/0.6837, allocations: 3.525 MB / 0.5939 GB, free: 17.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6837, allocations: 8.031 kB / 0.594 GB, free: 17.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.6873, allocations: 0.7538 MB / 0.5947 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.6921, allocations: 2.723 MB / 0.5974 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.6922, allocations: 242.8 kB / 0.5976 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/0.6927, allocations: 324.3 kB / 0.5979 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00632/0.6991, allocations: 4.212 MB / 0.602 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-05/0.6992, allocations: 15.84 kB / 0.602 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.6995, allocations: 144 kB / 0.6022 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/0.6996, allocations: 142.5 kB / 0.6023 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/0.7048, allocations: 3.399 MB / 0.6056 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.7247, allocations: 14.02 MB / 0.6193 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.7309, allocations: 6.663 MB / 0.6258 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/0.7332, allocations: 1.394 MB / 0.6272 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006394/0.7396, allocations: 3.912 MB / 0.631 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.7397, allocations: 48.06 kB / 0.631 GB, free: 9.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 3.146e-06/0.7397, allocations: 0 / 0.631 GB, free: 9.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01146/0.7512, allocations: 5.91 MB / 0.6368 GB, free: 3.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7512, allocations: 64.72 kB / 0.6369 GB, free: 3.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.7538, allocations: 1.77 MB / 0.6386 GB, free: 1.703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.754, allocations: 45.7 kB / 0.6386 GB, free: 1.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.755, allocations: 1.462 MB / 0.6401 GB, free: 176 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.7554, allocations: 481.2 kB / 0.6405 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.7555, allocations: 36 kB / 0.6406 GB, free: 15.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7557, allocations: 377.9 kB / 0.6409 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.7568, allocations: 0.6715 MB / 0.6416 GB, free: 14.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.7581, allocations: 1.168 MB / 0.6427 GB, free: 13.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.7608, allocations: 1.977 MB / 0.6447 GB, free: 11.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.7608, allocations: 8 kB / 0.6447 GB, free: 11.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004114/0.7649, allocations: 2.515 MB / 0.6471 GB, free: 8.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.7649, allocations: 12 kB / 0.6471 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.765, allocations: 16 kB / 0.6471 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/0.7659, allocations: 368.3 kB / 0.6475 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7673, allocations: 371.4 kB / 0.6478 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.7744, allocations: 7.665 MB / 0.6553 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.776, allocations: 83.8 kB / 0.6554 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.7762, allocations: 76 kB / 0.6555 GB, free: 15.35 MB / 442.7 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 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 185 * 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%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001929/0.7781, allocations: 1.005 MB / 0.6565 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.7785, allocations: 193.8 kB / 0.6566 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.7825, allocations: 2.297 MB / 0.6589 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.7825, allocations: 23.94 kB / 0.6589 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7825, allocations: 8 kB / 0.6589 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.7826, allocations: 3.984 kB / 0.6589 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008171/0.7907, allocations: 5.056 MB / 0.6639 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7908, allocations: 4 kB / 0.6639 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.7915, allocations: 172 kB / 0.664 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7929, allocations: 0.5396 MB / 0.6646 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/0.793, allocations: 39.98 kB / 0.6646 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2167/1.01, allocations: 12.07 MB / 0.6764 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.01, allocations: 5.906 kB / 0.6764 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/1.015, allocations: 3.206 MB / 0.6795 GB, free: 86.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009684/1.016, allocations: 429.9 kB / 0.6799 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/1.016, allocations: 29.92 kB / 0.68 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/1.017, allocations: 72.59 kB / 0.68 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/1.017, allocations: 117.1 kB / 0.6801 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/1.017, allocations: 48.53 kB / 0.6802 GB, free: 86.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001746/1.019, allocations: 1.195 MB / 0.6814 GB, free: 86.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.019, allocations: 0 / 0.6814 GB, free: 86.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002321/1.021, allocations: 0.6256 MB / 0.682 GB, free: 86.24 MB / 442.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.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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * 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%) 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.0006003/1.022, allocations: 380.5 kB / 0.6823 GB, free: 86.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003176/1.025, allocations: 2.345 MB / 0.6846 GB, free: 85.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.025, allocations: 0 / 0.6846 GB, free: 85.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/1.027, allocations: 1.724 MB / 0.6863 GB, free: 84.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/1.03, allocations: 0.5194 MB / 0.6868 GB, free: 84.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009729/1.04, allocations: 7.056 MB / 0.6937 GB, free: 81.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.042, allocations: 2.263 MB / 0.6959 GB, free: 81.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/1.043, allocations: 139.6 kB / 0.696 GB, free: 81.08 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/1.043, allocations: 2.188 kB / 0.696 GB, free: 81.08 MB / 442.7 MB Notification: Performance of Templates: time 0.1059/1.149, allocations: 129.9 MB / 0.8229 GB, free: 6.508 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/jenkins1/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