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_YD.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_YD,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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.928/2.928, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001281/0.001282, allocations: 85.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007173/0.000718, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5708, allocations: 47.57 MB / 375.7 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.8308, allocations: 110.7 MB / 486.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005989/0.8315, allocations: 91.95 kB / 486.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6681/1.5, allocations: 88.03 MB / 0.5611 GB, free: 55.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.09e-06/1.5, allocations: 4 kB / 0.5611 GB, free: 55.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005456/1.5, allocations: 87.88 kB / 0.5612 GB, free: 55.23 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.0248/1.525, allocations: 4.015 MB / 0.5651 GB, free: 51.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.892e-05/1.525, allocations: 8.031 kB / 0.5651 GB, free: 51.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009799/1.535, allocations: 0.7961 MB / 0.5659 GB, free: 50.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/1.549, allocations: 3.06 MB / 0.5689 GB, free: 47.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006049/1.549, allocations: 275.6 kB / 0.5691 GB, free: 46.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002846/1.552, allocations: 364.3 kB / 0.5695 GB, free: 46.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/1.579, allocations: 4.972 MB / 0.5743 GB, free: 41.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004455/1.58, allocations: 11.84 kB / 0.5744 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00237/1.582, allocations: 156 kB / 0.5745 GB, free: 41.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003087/1.583, allocations: 159.2 kB / 0.5747 GB, free: 41.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/1.602, allocations: 4.163 MB / 0.5787 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0503/1.652, allocations: 15.98 MB / 0.5943 GB, free: 20.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.664, allocations: 7.79 MB / 0.6019 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005334/1.669, allocations: 1.729 MB / 0.6036 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/1.684, allocations: 4.651 MB / 0.6082 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/1.684, allocations: 51.88 kB / 0.6082 GB, free: 5.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 5.761e-06/1.684, allocations: 0 / 0.6082 GB, free: 5.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=164): time 0.03258/1.717, allocations: 8.139 MB / 0.6162 GB, free: 13.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.717, allocations: 68.72 kB / 0.6162 GB, free: 12.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008299/1.725, allocations: 2.131 MB / 0.6183 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008868/1.726, allocations: 57.7 kB / 0.6184 GB, free: 10.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00275/1.729, allocations: 1.608 MB / 0.6199 GB, free: 9.133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.731, allocations: 0.5468 MB / 0.6205 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.731, allocations: 36 kB / 0.6205 GB, free: 8.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004699/1.732, allocations: 385.9 kB / 0.6209 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/1.735, allocations: 0.9291 MB / 0.6218 GB, free: 7.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/1.738, allocations: 1.416 MB / 0.6232 GB, free: 5.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006703/1.745, allocations: 2.439 MB / 0.6255 GB, free: 2.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/1.745, allocations: 7.938 kB / 0.6256 GB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01118/1.756, allocations: 3.297 MB / 0.6288 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/1.756, allocations: 13.41 kB / 0.6288 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/1.756, allocations: 16 kB / 0.6288 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003144/1.76, allocations: 0.7479 MB / 0.6295 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.762, allocations: 371.4 kB / 0.6299 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/1.784, allocations: 10.41 MB / 0.64 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/1.788, allocations: 87.86 kB / 0.6401 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008233/1.789, allocations: 79.98 kB / 0.6402 GB, free: 3.379 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 184 * 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%) 8,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005937/1.795, allocations: 1.216 MB / 0.6414 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.796, allocations: 225.3 kB / 0.6416 GB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4786/2.275, allocations: 3.158 MB / 0.6447 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/2.275, allocations: 16.69 kB / 0.6447 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-05/2.275, allocations: 11.53 kB / 0.6447 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-05/2.275, allocations: 7.406 kB / 0.6447 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/2.299, allocations: 6.547 MB / 0.6511 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/2.299, allocations: 3 kB / 0.6511 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/2.301, allocations: 173.2 kB / 0.6513 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/2.304, allocations: 0.9097 MB / 0.6522 GB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003784/2.305, allocations: 41.19 kB / 0.6522 GB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/2.331, allocations: 14.8 MB / 0.6667 GB, free: 78.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/2.331, allocations: 3.781 kB / 0.6667 GB, free: 78.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/2.345, allocations: 4.513 MB / 0.6711 GB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/2.348, allocations: 0.5249 MB / 0.6716 GB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/2.35, allocations: 34.41 kB / 0.6716 GB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/2.352, allocations: 90.39 kB / 0.6717 GB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007883/2.352, allocations: 162.1 kB / 0.6719 GB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/2.353, allocations: 43.78 kB / 0.6719 GB, free: 77.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004629/2.357, allocations: 1.465 MB / 0.6733 GB, free: 77.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.357, allocations: 0 / 0.6733 GB, free: 77.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006518/2.364, allocations: 0.7371 MB / 0.6741 GB, free: 77.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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%) 1,(1,100.0%) 8,(9,33.3%) 19,(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.00145/2.365, allocations: 373.9 kB / 0.6744 GB, free: 77.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008973/2.374, allocations: 3.106 MB / 0.6774 GB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/2.374, allocations: 0.875 kB / 0.6774 GB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00624/2.381, allocations: 2.263 MB / 0.6797 GB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006245/2.387, allocations: 0.6092 MB / 0.6803 GB, free: 76.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/2.409, allocations: 8.126 MB / 0.6882 GB, free: 71.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004124/2.413, allocations: 2.628 MB / 0.6908 GB, free: 70.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/2.414, allocations: 148.4 kB / 0.6909 GB, free: 70.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/2.414, allocations: 0 / 0.6909 GB, free: 70.68 MB / 410.7 MB Notification: Performance of Templates: time 0.6585/3.073, allocations: 151.7 MB / 0.8391 GB, free: 116.3 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_YD/AIMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches