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.001082/0.001082, allocations: 96.2 kB / 16.93 MB, free: 5.984 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.001219/0.001219, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.613/1.613, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005062/0.0005064, allocations: 15.44 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01275/0.1195, allocations: 11 MB / 339.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1305, allocations: 4.311 MB / 343.6 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.1333, allocations: 67.69 kB / 343.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.1367, allocations: 0.8007 MB / 344.5 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.1419, allocations: 1.192 MB / 345.7 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.1443, allocations: 0.6314 MB / 346.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007177/0.1514, allocations: 3.162 MB / 349.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003842/0.1553, allocations: 2.545 MB / 352 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.1582, allocations: 1.452 MB / 353.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.1616, allocations: 1.708 MB / 355.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008352/0.1625, allocations: 236 kB / 355.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.1643, allocations: 407.8 kB / 355.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.1652, allocations: 0.8683 MB / 356.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.1666, allocations: 0.8473 MB / 357.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007696/0.1743, allocations: 6.288 MB / 363.8 MB, free: 440 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1744, allocations: 3.938 kB / 363.8 MB, free: 436 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1744, allocations: 0 / 363.8 MB, free: 436 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002581/0.1746, allocations: 3.938 kB / 363.8 MB, free: 432 kB / 302.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.01309/0.1877, allocations: 4.288 MB / 368.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1878, allocations: 8.031 kB / 368.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006131/0.1939, allocations: 0.881 MB / 369 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007229/0.2012, allocations: 2.526 MB / 371.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.2016, allocations: 271.2 kB / 371.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.2031, allocations: 359.9 kB / 372.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.216, allocations: 4.993 MB / 377.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.2161, allocations: 11.89 kB / 377.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004775/0.2166, allocations: 144 kB / 377.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.2168, allocations: 159.2 kB / 377.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.241/0.4578, allocations: 4.37 MB / 381.8 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03476/0.4926, allocations: 15.94 MB / 397.8 MB, free: 37.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006955/0.4996, allocations: 7.777 MB / 405.6 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007064/0.5067, allocations: 4.041 MB / 409.6 MB, free: 26.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5068, allocations: 60.45 kB / 409.7 MB, free: 26.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.466e-06/0.5068, allocations: 0 / 409.7 MB, free: 26.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=170): time 0.01637/0.5232, allocations: 8.329 MB / 418 MB, free: 21.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5233, allocations: 69.41 kB / 418.1 MB, free: 20.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.526, allocations: 2.096 MB / 420.1 MB, free: 18.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.5261, allocations: 61.7 kB / 420.2 MB, free: 18.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.5269, allocations: 1.604 MB / 421.8 MB, free: 17.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.5272, allocations: 0.572 MB / 422.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.5273, allocations: 36 kB / 422.4 MB, free: 16.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5274, allocations: 381.9 kB / 422.8 MB, free: 16.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.5288, allocations: 0.9721 MB / 423.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.5303, allocations: 1.459 MB / 425.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.5319, allocations: 1.196 MB / 426.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.5319, allocations: 8 kB / 426.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.004931/0.5368, allocations: 3.394 MB / 429.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.5369, allocations: 12 kB / 429.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.5369, allocations: 12 kB / 429.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/0.5386, allocations: 0.7271 MB / 430.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.5401, allocations: 387.3 kB / 431 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.5504, allocations: 10.63 MB / 441.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.5528, allocations: 91.86 kB / 441.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/0.553, allocations: 85.11 kB / 441.8 MB, free: 12.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * 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.003093/0.5561, allocations: 1.212 MB / 443 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006009/0.5567, allocations: 225.2 kB / 443.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005798/0.5625, allocations: 3.25 MB / 446.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.5626, allocations: 16 kB / 446.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.5626, allocations: 8 kB / 446.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.5626, allocations: 11.97 kB / 446.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.5747, allocations: 6.66 MB / 453.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.5747, allocations: 3.984 kB / 453.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.5757, allocations: 191.8 kB / 453.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.5779, allocations: 0.9017 MB / 454.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.5781, allocations: 51.98 kB / 454.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/0.5945, allocations: 15.04 MB / 469.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5946, allocations: 5.031 kB / 469.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/0.6021, allocations: 4.742 MB / 474.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.6036, allocations: 0.5293 MB / 474.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/0.6039, allocations: 36 kB / 474.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.6049, allocations: 91.94 kB / 474.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/0.6053, allocations: 173 kB / 474.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6054, allocations: 43.98 kB / 474.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002149/0.6076, allocations: 1.434 MB / 476.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6076, allocations: 0 / 476.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002787/0.6104, allocations: 0.7018 MB / 477.1 MB, free: 7.941 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 (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%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 1,(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.000386/0.6108, allocations: 176.3 kB / 477.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0049/0.6157, allocations: 3.187 MB / 480.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6157, allocations: 4 kB / 480.4 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00345/0.6192, allocations: 2.303 MB / 482.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.622, allocations: 0.5768 MB / 483.3 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.6358, allocations: 8.199 MB / 491.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/0.6385, allocations: 2.748 MB / 494.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001993/0.6405, allocations: 483.4 kB / 494.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.6409, allocations: 135.4 kB / 494.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6409, allocations: 0 / 494.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of Templates: time 0.06412/0.705, allocations: 35.11 MB / 0.5175 GB, free: 2.773 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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