Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00092/0.00092, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.467/1.467, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0008868/0.0008869, allocations: 94.66 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.0002431, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.3776, allocations: 110.4 MB / 486.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3779, allocations: 87.95 kB / 486.3 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3928/0.7707, allocations: 88.2 MB / 0.5611 GB, free: 55.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7707, allocations: 0 / 0.5611 GB, free: 55.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002414/0.771, allocations: 87.92 kB / 0.5612 GB, free: 55.39 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.01005/0.781, allocations: 4.058 MB / 0.5651 GB, free: 51.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7811, allocations: 8.031 kB / 0.5651 GB, free: 51.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/0.7853, allocations: 0.7991 MB / 0.5659 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008375/0.7937, allocations: 3.703 MB / 0.5695 GB, free: 46.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.7939, allocations: 267.2 kB / 0.5698 GB, free: 46.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006476/0.7945, allocations: 360 kB / 0.5701 GB, free: 46.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007624/0.8021, allocations: 4.941 MB / 0.5749 GB, free: 41.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.8022, allocations: 15.8 kB / 0.575 GB, free: 41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.8026, allocations: 152 kB / 0.5751 GB, free: 40.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.8027, allocations: 159.2 kB / 0.5753 GB, free: 40.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/0.8089, allocations: 4.155 MB / 0.5793 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.8296, allocations: 15.99 MB / 0.5949 GB, free: 20.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/0.8354, allocations: 7.79 MB / 0.6025 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007078/0.8425, allocations: 4.074 MB / 0.6065 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.8426, allocations: 52.56 kB / 0.6066 GB, free: 7.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 3.146e-06/0.8426, allocations: 0 / 0.6066 GB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.01582/0.8584, allocations: 8.25 MB / 0.6146 GB, free: 14.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.8585, allocations: 69.41 kB / 0.6147 GB, free: 14.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/0.8628, allocations: 1.894 MB / 0.6165 GB, free: 12.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.863, allocations: 57.7 kB / 0.6166 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.8644, allocations: 1.597 MB / 0.6182 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00058/0.865, allocations: 0.5622 MB / 0.6187 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.8652, allocations: 40 kB / 0.6187 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.8654, allocations: 381.9 kB / 0.6191 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.8672, allocations: 0.9525 MB / 0.62 GB, free: 9.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.8692, allocations: 1.419 MB / 0.6214 GB, free: 7.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.8713, allocations: 1.165 MB / 0.6226 GB, free: 6.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.963e-05/0.8714, allocations: 7.938 kB / 0.6226 GB, free: 6.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00625/0.8776, allocations: 3.34 MB / 0.6258 GB, free: 3.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.8777, allocations: 19.11 kB / 0.6258 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/0.8778, allocations: 12 kB / 0.6259 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.88, allocations: 0.7405 MB / 0.6266 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.8815, allocations: 371.4 kB / 0.6269 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.8941, allocations: 10.64 MB / 0.6373 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.8965, allocations: 96.12 kB / 0.6374 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004264/0.897, allocations: 76 kB / 0.6375 GB, free: 6.531 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (193): * Single equations (assignments): 188 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003353/0.9003, allocations: 1.216 MB / 0.6387 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008286/0.9012, allocations: 229.2 kB / 0.6389 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007037/0.9082, allocations: 3.246 MB / 0.6421 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.9083, allocations: 20 kB / 0.6421 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-05/0.9083, allocations: 12 kB / 0.6421 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.9084, allocations: 11.95 kB / 0.6421 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.284/1.192, allocations: 6.665 MB / 0.6486 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.192, allocations: 3.531 kB / 0.6486 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/1.193, allocations: 189.4 kB / 0.6488 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/1.196, allocations: 0.9076 MB / 0.6497 GB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.196, allocations: 44.8 kB / 0.6497 GB, free: 85.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.209, allocations: 15.11 MB / 0.6645 GB, free: 77.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.209, allocations: 0 / 0.6645 GB, free: 77.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007157/1.216, allocations: 4.732 MB / 0.6691 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.218, allocations: 0.5271 MB / 0.6696 GB, free: 76.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/1.218, allocations: 38.47 kB / 0.6697 GB, free: 76.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.219, allocations: 90.91 kB / 0.6697 GB, free: 76.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.22, allocations: 167.8 kB / 0.6699 GB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/1.22, allocations: 46.39 kB / 0.67 GB, free: 76.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002724/1.222, allocations: 1.456 MB / 0.6714 GB, free: 76.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.222, allocations: 0 / 0.6714 GB, free: 76.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003116/1.226, allocations: 0.7379 MB / 0.6721 GB, free: 76.78 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 (100): * Single equations (assignments): 94 * 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%) 8,(9,33.3%) 19,(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.0006445/1.226, allocations: 373 kB / 0.6725 GB, free: 76.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004579/1.231, allocations: 3.162 MB / 0.6755 GB, free: 76.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.231, allocations: 0.9688 kB / 0.6755 GB, free: 76.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/1.234, allocations: 2.313 MB / 0.6778 GB, free: 75.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.238, allocations: 0.5943 MB / 0.6784 GB, free: 75.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.251, allocations: 8.225 MB / 0.6864 GB, free: 71.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.253, allocations: 2.744 MB / 0.6891 GB, free: 70.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001897/1.255, allocations: 469 kB / 0.6895 GB, free: 70.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.255, allocations: 138.5 kB / 0.6897 GB, free: 70.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.255, allocations: 0 / 0.6897 GB, free: 70.76 MB / 410.7 MB Notification: Performance of Templates: time 0.05932/1.315, allocations: 38.41 MB / 0.7272 GB, free: 54.51 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches