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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.45 kB / 16.96 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 178.4 kB / 17.84 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005518, allocations: 15.98 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 47.59 MB / 328.4 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01347/0.1266, allocations: 12.02 MB / 340.4 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.1365, allocations: 4.2 MB / 344.6 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.1393, allocations: 67.69 kB / 344.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.1426, allocations: 0.769 MB / 345.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.1479, allocations: 1.146 MB / 346.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.1507, allocations: 0.6197 MB / 347.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007187/0.1579, allocations: 4.751 MB / 351.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005045/0.163, allocations: 2.549 MB / 354.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.1663, allocations: 1.494 MB / 356 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.1706, allocations: 1.91 MB / 357.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.1721, allocations: 236 kB / 358.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.1748, allocations: 431.7 kB / 358.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.1768, allocations: 0.8992 MB / 359.5 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002345/0.1791, allocations: 0.8473 MB / 360.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009171/0.1883, allocations: 6.334 MB / 366.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.1884, allocations: 0 / 366.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1884, allocations: 0 / 366.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003513/0.1887, allocations: 0 / 366.6 MB, free: 13.61 MB / 318.1 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.01529/0.2041, allocations: 4.307 MB / 370.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2041, allocations: 8.031 kB / 371 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005795/0.2099, allocations: 0.8771 MB / 371.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/0.2175, allocations: 2.515 MB / 374.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003889/0.218, allocations: 271.2 kB / 374.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.2195, allocations: 359.9 kB / 375 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.234, allocations: 5.021 MB / 380 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.2342, allocations: 4 kB / 380 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2512/0.4854, allocations: 141.3 kB / 380.1 MB, free: 48.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003112/0.4858, allocations: 165.5 kB / 380.3 MB, free: 48.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.4991, allocations: 4.374 MB / 384.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03991/0.539, allocations: 15.99 MB / 400.6 MB, free: 37.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008289/0.5474, allocations: 7.78 MB / 408.4 MB, free: 30.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.5509, allocations: 1.732 MB / 410.2 MB, free: 29.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.5616, allocations: 4.672 MB / 414.8 MB, free: 25.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5616, allocations: 47.88 kB / 414.9 MB, free: 25.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=161): time 5.551e-06/0.5617, allocations: 0 / 414.9 MB, free: 25.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=164): time 0.01681/0.5785, allocations: 8.189 MB / 423.1 MB, free: 16.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5786, allocations: 76.67 kB / 423.1 MB, free: 16.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/0.5834, allocations: 2.143 MB / 425.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.5837, allocations: 53.7 kB / 425.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.5849, allocations: 1.616 MB / 427 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005895/0.5855, allocations: 0.5455 MB / 427.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.5857, allocations: 40 kB / 427.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5859, allocations: 381.9 kB / 427.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.5875, allocations: 0.9525 MB / 428.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.5893, allocations: 1.461 MB / 430.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.5911, allocations: 1.173 MB / 431.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.5911, allocations: 10.73 kB / 431.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.005574/0.5967, allocations: 3.351 MB / 434.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.5968, allocations: 15.95 kB / 434.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/0.5968, allocations: 12.47 kB / 434.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.5987, allocations: 0.7414 MB / 435.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.6, allocations: 375.4 kB / 436 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.6125, allocations: 10.4 MB / 446.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.6151, allocations: 92.05 kB / 446.5 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/0.6156, allocations: 87.94 kB / 446.6 MB, free: 8.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (195): * Single equations (assignments): 190 * 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.003664/0.6193, allocations: 1.212 MB / 447.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/0.6202, allocations: 225.2 kB / 448 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006939/0.6272, allocations: 3.168 MB / 451.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.6272, allocations: 16 kB / 451.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-05/0.6273, allocations: 16 kB / 451.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.6273, allocations: 7.969 kB / 451.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.6421, allocations: 6.58 MB / 457.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.6422, allocations: 4.188 kB / 457.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008465/0.6431, allocations: 179.8 kB / 458 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.6455, allocations: 0.9021 MB / 458.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.6457, allocations: 43.98 kB / 458.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.6633, allocations: 14.81 MB / 473.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6633, allocations: 2.297 kB / 473.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00835/0.6717, allocations: 4.528 MB / 478.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/0.6737, allocations: 0.5217 MB / 478.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008065/0.6745, allocations: 36 kB / 478.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.6761, allocations: 83.94 kB / 478.9 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/0.6766, allocations: 173 kB / 479.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.6768, allocations: 39.98 kB / 479.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003733/0.6805, allocations: 1.469 MB / 480.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6806, allocations: 4 kB / 480.6 MB, free: 5.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004061/0.6846, allocations: 0.7031 MB / 481.3 MB, free: 4.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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%) 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.0005294/0.6852, allocations: 165.2 kB / 481.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005817/0.691, allocations: 3.137 MB / 484.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.691, allocations: 0 / 484.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.6949, allocations: 2.275 MB / 486.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/0.6991, allocations: 0.6112 MB / 487.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.7157, allocations: 8.167 MB / 495.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004216/0.7199, allocations: 2.674 MB / 498.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002265/0.7222, allocations: 475.4 kB / 498.8 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.7226, allocations: 135.4 kB / 498.9 MB, free: 2.848 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7226, allocations: 0 / 498.9 MB, free: 2.848 MB / 382.1 MB Notification: Performance of Templates: time 0.07351/0.7962, allocations: 35.43 MB / 0.5218 GB, free: 15.37 MB / 430.1 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