Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008367, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005631/0.005631, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.000431/0.000431, allocations: 10.81 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 47.58 MB / 327 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01869/0.2316, allocations: 18.42 MB / 345.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.244, allocations: 5.574 MB / 351 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005533/0.2495, allocations: 95.56 kB / 351.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00463/0.2542, allocations: 1.107 MB / 352.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.2621, allocations: 1.714 MB / 353.9 MB, free: 8.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.2659, allocations: 1.084 MB / 355 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.2762, allocations: 7.111 MB / 362.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00676/0.283, allocations: 4.395 MB / 366.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.2864, allocations: 2.108 MB / 368.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004456/0.2908, allocations: 2.867 MB / 371.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/0.292, allocations: 336 kB / 371.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.2944, allocations: 0.609 MB / 372.4 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.296, allocations: 1.424 MB / 373.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.2995, allocations: 2.843 MB / 376.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009816/0.3094, allocations: 9.915 MB / 386.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3094, allocations: 7.922 kB / 386.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3094, allocations: 0 / 386.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003009/0.3097, allocations: 0 / 386.6 MB, free: 7.469 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01488/0.3246, allocations: 5.607 MB / 392.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.3247, allocations: 12.03 kB / 392.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006491/0.3312, allocations: 1.079 MB / 393.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00727/0.3385, allocations: 3.405 MB / 396.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.3389, allocations: 394.7 kB / 397.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.3404, allocations: 0.5039 MB / 397.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.3546, allocations: 6.957 MB / 404.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.3548, allocations: 15.84 kB / 404.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/0.3553, allocations: 212 kB / 404.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.3555, allocations: 238.2 kB / 405 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3665, allocations: 5.935 MB / 411 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03553/0.402, allocations: 21.49 MB / 432.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008395/0.4105, allocations: 8.705 MB / 441.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/0.4147, allocations: 2.377 MB / 443.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.4255, allocations: 6.155 MB / 449.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.4256, allocations: 60.56 kB / 449.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.879e-06/0.4256, allocations: 0 / 449.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.2204/0.646, allocations: 11.39 MB / 461.1 MB, free: 105.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.6461, allocations: 76.81 kB / 461.2 MB, free: 105.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004429/0.6505, allocations: 2.997 MB / 464.2 MB, free: 104.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003724/0.6509, allocations: 69.48 kB / 464.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.6521, allocations: 2.304 MB / 466.6 MB, free: 102.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006458/0.6528, allocations: 0.8126 MB / 467.4 MB, free: 102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.653, allocations: 235.8 kB / 467.6 MB, free: 101.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.6531, allocations: 308.8 kB / 467.9 MB, free: 101.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.6549, allocations: 1.361 MB / 469.3 MB, free: 101.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.6569, allocations: 2.143 MB / 471.4 MB, free: 99.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.6611, allocations: 3.712 MB / 475.2 MB, free: 97.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.6612, allocations: 3.625 kB / 475.2 MB, free: 97.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006743/0.6679, allocations: 4.686 MB / 479.8 MB, free: 95.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.668, allocations: 14.38 kB / 479.9 MB, free: 95.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.668, allocations: 25.12 kB / 479.9 MB, free: 95.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.6696, allocations: 0.7621 MB / 480.6 MB, free: 94.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.6717, allocations: 0.6318 MB / 481.3 MB, free: 93.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009039/0.6807, allocations: 13.4 MB / 494.7 MB, free: 79.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.6835, allocations: 159.8 kB / 494.8 MB, free: 79.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.6838, allocations: 127.7 kB / 495 MB, free: 79.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003004/0.6868, allocations: 1.606 MB / 496.6 MB, free: 77.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006786/0.6875, allocations: 320.1 kB / 496.9 MB, free: 77.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006194/0.6937, allocations: 4.218 MB / 0.4893 GB, free: 73.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.6937, allocations: 24 kB / 0.4894 GB, free: 73.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6937, allocations: 8 kB / 0.4894 GB, free: 73.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.6938, allocations: 15.02 kB / 0.4894 GB, free: 73.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.7066, allocations: 9.135 MB / 0.4983 GB, free: 63.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.7067, allocations: 4.5 kB / 0.4983 GB, free: 63.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.7081, allocations: 383.4 kB / 0.4987 GB, free: 63.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/0.7102, allocations: 0.9303 MB / 0.4996 GB, free: 62.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.7104, allocations: 63.97 kB / 0.4997 GB, free: 62.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.7222, allocations: 16.52 MB / 0.5158 GB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7222, allocations: 7.938 kB / 0.5158 GB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00812/0.7303, allocations: 6.084 MB / 0.5217 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/0.7319, allocations: 0.6962 MB / 0.5224 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/0.7324, allocations: 59.98 kB / 0.5225 GB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.7339, allocations: 143.9 kB / 0.5226 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/0.7344, allocations: 201.6 kB / 0.5228 GB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.7345, allocations: 67.98 kB / 0.5229 GB, free: 37.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002603/0.7371, allocations: 2.041 MB / 0.5249 GB, free: 35.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7371, allocations: 0 / 0.5249 GB, free: 35.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003148/0.7403, allocations: 0.9753 MB / 0.5258 GB, free: 34.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004903/0.7408, allocations: 251.2 kB / 0.5261 GB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005887/0.7467, allocations: 4.59 MB / 0.5305 GB, free: 29.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7467, allocations: 0.9375 kB / 0.5305 GB, free: 29.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0036/0.7503, allocations: 3.055 MB / 0.5335 GB, free: 26.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/0.7555, allocations: 0.8616 MB / 0.5344 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.7728, allocations: 12.42 MB / 0.5465 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.7756, allocations: 3.423 MB / 0.5498 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002637/0.7782, allocations: 0.7659 MB / 0.5506 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.7789, allocations: 211.4 kB / 0.5508 GB, free: 8.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7789, allocations: 0 / 0.5508 GB, free: 8.559 MB / 382.1 MB Notification: Performance of Templates: time 0.08763/0.8665, allocations: 48.75 MB / 0.5984 GB, free: 7.738 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)