Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 172.8 kB / 16.72 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007543/0.0007543, allocations: 81.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 47.56 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.009985/0.2367, allocations: 11.97 MB / 387.1 MB, free: 36.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007755/0.2445, allocations: 4.129 MB / 391.2 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.2467, allocations: 63.75 kB / 391.3 MB, free: 32.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.2493, allocations: 0.7418 MB / 392 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.253, allocations: 1.08 MB / 393.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2547, allocations: 0.6239 MB / 393.7 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.2589, allocations: 4.119 MB / 397.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.2615, allocations: 2.628 MB / 400.5 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.2633, allocations: 1.296 MB / 401.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.2653, allocations: 1.611 MB / 403.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.2657, allocations: 211.9 kB / 403.6 MB, free: 20.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2669, allocations: 411.8 kB / 404 MB, free: 19.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005161/0.2674, allocations: 0.7473 MB / 404.7 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.269, allocations: 1.693 MB / 406.4 MB, free: 17.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.2728, allocations: 5.473 MB / 411.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2728, allocations: 0 / 411.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2728, allocations: 4 kB / 411.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000128/0.273, allocations: 0 / 411.9 MB, free: 11.75 MB / 298.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.007958/0.2809, allocations: 3.708 MB / 415.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.281, allocations: 12.03 kB / 415.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.2849, allocations: 0.8201 MB / 416.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.2882, allocations: 2.213 MB / 418.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.2884, allocations: 246.8 kB / 418.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/0.2888, allocations: 328 kB / 419.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/0.2954, allocations: 4.243 MB / 423.4 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.071e-05/0.2955, allocations: 0 / 423.4 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.2958, allocations: 136 kB / 423.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.296, allocations: 146.4 kB / 423.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007366/0.3033, allocations: 3.582 MB / 427.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.3271, allocations: 13.94 MB / 441.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006628/0.3337, allocations: 6.565 MB / 447.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.3362, allocations: 1.398 MB / 449.2 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00657/0.3428, allocations: 3.647 MB / 452.9 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3429, allocations: 51.88 kB / 452.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 4.097e-06/0.3429, allocations: 0 / 452.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.0124/0.3553, allocations: 5.902 MB / 458.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3554, allocations: 64.72 kB / 458.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.3582, allocations: 1.768 MB / 460.6 MB, free: 9.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.3583, allocations: 57.64 kB / 460.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.3594, allocations: 1.434 MB / 462.1 MB, free: 7.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/0.3599, allocations: 477.1 kB / 462.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.36, allocations: 36 kB / 462.6 MB, free: 7.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3602, allocations: 373.9 kB / 463 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.3614, allocations: 0.6754 MB / 463.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3627, allocations: 1.193 MB / 464.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.3654, allocations: 1.987 MB / 466.8 MB, free: 2.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3654, allocations: 7.938 kB / 466.9 MB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004133/0.3695, allocations: 2.543 MB / 469.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3696, allocations: 12 kB / 469.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.3696, allocations: 19.94 kB / 469.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009328/0.3705, allocations: 368.2 kB / 469.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.372, allocations: 375.4 kB / 470.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007758/0.3797, allocations: 7.668 MB / 477.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.3815, allocations: 80.05 kB / 477.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.3817, allocations: 76 kB / 478 MB, free: 6.84 MB / 362.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.002136/0.3838, allocations: 1.005 MB / 479 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.3842, allocations: 197.6 kB / 479.2 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.3884, allocations: 2.285 MB / 481.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3885, allocations: 12.06 kB / 481.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.3885, allocations: 12 kB / 481.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.3885, allocations: 15.91 kB / 481.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008661/0.3972, allocations: 5.075 MB / 486.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.3972, allocations: 0 / 486.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.398, allocations: 171.8 kB / 486.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.3996, allocations: 0.5387 MB / 487.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.3997, allocations: 39.92 kB / 487.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.4115, allocations: 12.06 MB / 499.4 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4116, allocations: 7.969 kB / 499.4 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/0.4171, allocations: 3.222 MB / 0.4908 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.4181, allocations: 426.6 kB / 0.4912 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.4184, allocations: 32 kB / 0.4913 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.4192, allocations: 75.94 kB / 0.4913 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.4195, allocations: 113.1 kB / 0.4915 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.4196, allocations: 39.98 kB / 0.4915 GB, free: 12.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001867/0.4215, allocations: 1.207 MB / 0.4927 GB, free: 11.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4215, allocations: 0 / 0.4927 GB, free: 11.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002192/0.4237, allocations: 0.5703 MB / 0.4932 GB, free: 10.61 MB / 394.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.0003356/0.424, allocations: 159 kB / 0.4934 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003861/0.4279, allocations: 2.36 MB / 0.4957 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4279, allocations: 0 / 0.4957 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.4304, allocations: 1.741 MB / 0.4974 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.4331, allocations: 0.5132 MB / 0.4979 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1771/0.6102, allocations: 7.037 MB / 0.5048 GB, free: 120.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.6123, allocations: 2.258 MB / 0.507 GB, free: 119.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.613, allocations: 136.6 kB / 0.5071 GB, free: 119.9 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.613, allocations: 0.5312 kB / 0.5071 GB, free: 119.9 MB / 394.7 MB Notification: Performance of Templates: time 0.1013/0.7143, allocations: 128 MB / 0.632 GB, free: 1.148 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches