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.0009622/0.0009625, allocations: 183.7 kB / 18.04 MB, free: 3.781 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.268/1.268, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.000749/0.0007492, allocations: 91.48 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003943, allocations: 15.98 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3026, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.4885, allocations: 110.7 MB / 487.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.4889, allocations: 87.95 kB / 487.8 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3459/0.8348, allocations: 88.04 MB / 0.5624 GB, free: 55.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.8348, allocations: 4 kB / 0.5624 GB, free: 55.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003066/0.8351, allocations: 91.86 kB / 0.5625 GB, free: 55.12 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.01084/0.846, allocations: 4.019 MB / 0.5664 GB, free: 51.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.846, allocations: 12.03 kB / 0.5664 GB, free: 51.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.8503, allocations: 0.7961 MB / 0.5672 GB, free: 50.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.8567, allocations: 3.052 MB / 0.5702 GB, free: 47.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.857, allocations: 275.6 kB / 0.5704 GB, free: 46.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.8582, allocations: 364.3 kB / 0.5708 GB, free: 46.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009969/0.8682, allocations: 4.972 MB / 0.5756 GB, free: 41.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.8683, allocations: 11.84 kB / 0.5756 GB, free: 41.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005473/0.8689, allocations: 152 kB / 0.5758 GB, free: 41.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.869, allocations: 159.2 kB / 0.5759 GB, free: 41.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007362/0.8764, allocations: 4.159 MB / 0.58 GB, free: 36.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.9004, allocations: 15.99 MB / 0.5956 GB, free: 20.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005597/0.906, allocations: 7.79 MB / 0.6032 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.9083, allocations: 1.725 MB / 0.6049 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007187/0.9155, allocations: 4.659 MB / 0.6094 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.9156, allocations: 47.88 kB / 0.6095 GB, free: 5.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 3.076e-06/0.9156, allocations: 0 / 0.6095 GB, free: 5.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=164): time 0.01567/0.9313, allocations: 8.146 MB / 0.6174 GB, free: 12.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.9314, allocations: 68.72 kB / 0.6175 GB, free: 12.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.9358, allocations: 2.131 MB / 0.6196 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.936, allocations: 53.7 kB / 0.6196 GB, free: 10.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.9373, allocations: 1.612 MB / 0.6212 GB, free: 9.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/0.9381, allocations: 0.5468 MB / 0.6218 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.9382, allocations: 40 kB / 0.6218 GB, free: 8.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.9384, allocations: 377.9 kB / 0.6222 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.9402, allocations: 0.9291 MB / 0.6231 GB, free: 7.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.9422, allocations: 1.416 MB / 0.6244 GB, free: 5.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.9461, allocations: 2.443 MB / 0.6268 GB, free: 2.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.9461, allocations: 7.938 kB / 0.6268 GB, free: 2.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005742/0.9519, allocations: 3.301 MB / 0.6301 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.9519, allocations: 15.98 kB / 0.6301 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.952, allocations: 12 kB / 0.6301 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.9538, allocations: 0.7402 MB / 0.6308 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.9553, allocations: 367.4 kB / 0.6312 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.9668, allocations: 10.41 MB / 0.6413 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.9686, allocations: 87.86 kB / 0.6414 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/0.969, allocations: 80.08 kB / 0.6415 GB, free: 3.273 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.002764/0.9718, allocations: 1.223 MB / 0.6427 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/0.9724, allocations: 221.3 kB / 0.6429 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2053/1.178, allocations: 3.156 MB / 0.646 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/1.178, allocations: 15.19 kB / 0.646 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.178, allocations: 14.69 kB / 0.646 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/1.178, allocations: 6.844 kB / 0.646 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.188, allocations: 6.538 MB / 0.6524 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.188, allocations: 3.875 kB / 0.6524 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/1.189, allocations: 179.6 kB / 0.6526 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/1.191, allocations: 0.9053 MB / 0.6535 GB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/1.191, allocations: 47.52 kB / 0.6535 GB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/1.203, allocations: 14.81 MB / 0.668 GB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.203, allocations: 0 / 0.668 GB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006933/1.21, allocations: 4.506 MB / 0.6724 GB, free: 77.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.212, allocations: 0.5275 MB / 0.6729 GB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/1.212, allocations: 37.95 kB / 0.6729 GB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/1.213, allocations: 90.72 kB / 0.673 GB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/1.213, allocations: 161 kB / 0.6732 GB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.213, allocations: 44.47 kB / 0.6732 GB, free: 77.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002034/1.215, allocations: 1.457 MB / 0.6746 GB, free: 77.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.215, allocations: 0 / 0.6746 GB, free: 77.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002609/1.218, allocations: 0.7419 MB / 0.6753 GB, free: 77.14 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.0006333/1.219, allocations: 374.9 kB / 0.6757 GB, free: 77.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004576/1.223, allocations: 3.104 MB / 0.6787 GB, free: 76.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.223, allocations: 1.156 kB / 0.6787 GB, free: 76.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003244/1.227, allocations: 2.265 MB / 0.6809 GB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/1.23, allocations: 0.6061 MB / 0.6815 GB, free: 75.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.241, allocations: 8.147 MB / 0.6895 GB, free: 71.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/1.243, allocations: 2.677 MB / 0.6921 GB, free: 70.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002455/1.246, allocations: 471.5 kB / 0.6926 GB, free: 70.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/1.246, allocations: 134 kB / 0.6927 GB, free: 70.04 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/1.246, allocations: 0 / 0.6927 GB, free: 70.04 MB / 410.7 MB Notification: Performance of Templates: time 0.0584/1.305, allocations: 38.73 MB / 0.7305 GB, free: 51.98 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/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches