Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0007595/0.0007594, allocations: 91.84 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.004702/0.004702, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.315/1.315, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004349/0.000435, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 47.57 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01875/0.2319, allocations: 18.42 MB / 345.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.2439, allocations: 5.574 MB / 351 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.2474, allocations: 99.5 kB / 351.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.2504, allocations: 1.1 MB / 352.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.2556, allocations: 1.725 MB / 353.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.2579, allocations: 1.076 MB / 355 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007969/0.2659, allocations: 7.111 MB / 362.1 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005507/0.2714, allocations: 4.399 MB / 366.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.2752, allocations: 2.112 MB / 368.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004627/0.2799, allocations: 2.863 MB / 371.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008618/0.2808, allocations: 340 kB / 371.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.2828, allocations: 0.6128 MB / 372.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.2842, allocations: 1.421 MB / 373.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004325/0.2885, allocations: 2.839 MB / 376.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.2987, allocations: 9.927 MB / 386.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2987, allocations: 0 / 386.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2987, allocations: 0 / 386.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000249/0.299, allocations: 0 / 386.6 MB, free: 7.504 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.01422/0.3132, allocations: 5.607 MB / 392.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3133, allocations: 12.03 kB / 392.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.3189, allocations: 1.079 MB / 393.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/0.325, allocations: 3.397 MB / 396.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.3253, allocations: 390.7 kB / 397.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009862/0.3263, allocations: 0.5117 MB / 397.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.3381, allocations: 6.953 MB / 404.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.3383, allocations: 11.89 kB / 404.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.3387, allocations: 212 kB / 404.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.339, allocations: 238.2 kB / 405 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009938/0.3489, allocations: 5.927 MB / 411 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.3812, allocations: 21.5 MB / 432.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008057/0.3893, allocations: 8.701 MB / 441.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003759/0.3931, allocations: 2.377 MB / 443.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.4038, allocations: 6.155 MB / 449.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.4038, allocations: 56.56 kB / 449.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 3.717e-06/0.4038, allocations: 0 / 449.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.1884/0.5922, allocations: 11.4 MB / 461.1 MB, free: 105.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5923, allocations: 76.91 kB / 461.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.5962, allocations: 2.995 MB / 464.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.5963, allocations: 69.55 kB / 464.3 MB, free: 104.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.5974, allocations: 2.306 MB / 466.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.5979, allocations: 0.8096 MB / 467.4 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.5982, allocations: 235.8 kB / 467.6 MB, free: 101.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.5982, allocations: 301.1 kB / 467.9 MB, free: 101.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.5999, allocations: 1.369 MB / 469.3 MB, free: 101 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.6019, allocations: 2.142 MB / 471.4 MB, free: 99.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.606, allocations: 3.715 MB / 475.2 MB, free: 97.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.606, allocations: 7.875 kB / 475.2 MB, free: 97.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006644/0.6127, allocations: 4.676 MB / 479.8 MB, free: 95.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.6127, allocations: 14.88 kB / 479.8 MB, free: 95.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.6128, allocations: 22.16 kB / 479.9 MB, free: 95.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.6143, allocations: 0.7649 MB / 480.6 MB, free: 94.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.6164, allocations: 0.6357 MB / 481.3 MB, free: 94.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009085/0.6255, allocations: 13.4 MB / 494.7 MB, free: 79.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.6285, allocations: 171.8 kB / 494.8 MB, free: 79.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.6288, allocations: 116 kB / 495 MB, free: 79.44 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.003062/0.6318, allocations: 1.602 MB / 496.6 MB, free: 77.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.6325, allocations: 320.1 kB / 496.9 MB, free: 77.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/0.6385, allocations: 4.218 MB / 0.4893 GB, free: 73.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6386, allocations: 24 kB / 0.4894 GB, free: 73.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.6386, allocations: 8 kB / 0.4894 GB, free: 73.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.6386, allocations: 19.12 kB / 0.4894 GB, free: 73.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.6506, allocations: 9.135 MB / 0.4983 GB, free: 63.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.6507, allocations: 8.484 kB / 0.4983 GB, free: 63.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.6522, allocations: 379.5 kB / 0.4987 GB, free: 63.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.6543, allocations: 0.9332 MB / 0.4996 GB, free: 62.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.6544, allocations: 63.97 kB / 0.4997 GB, free: 62.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.6666, allocations: 16.53 MB / 0.5158 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6667, allocations: 8 kB / 0.5158 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/0.6749, allocations: 6.071 MB / 0.5217 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.6765, allocations: 0.7001 MB / 0.5224 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/0.6769, allocations: 59.98 kB / 0.5225 GB, free: 37.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.6785, allocations: 139.9 kB / 0.5226 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005001/0.679, allocations: 201.5 kB / 0.5228 GB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6791, allocations: 75.95 kB / 0.5229 GB, free: 37.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002634/0.6818, allocations: 2.037 MB / 0.5249 GB, free: 35.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6818, allocations: 0 / 0.5249 GB, free: 35.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003234/0.685, allocations: 0.983 MB / 0.5258 GB, free: 34.54 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.0005277/0.6856, allocations: 242.7 kB / 0.5261 GB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005443/0.691, allocations: 4.591 MB / 0.5305 GB, free: 29.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.691, allocations: 0.9375 kB / 0.5305 GB, free: 29.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003801/0.6949, allocations: 3.059 MB / 0.5335 GB, free: 26.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/0.7007, allocations: 0.8642 MB / 0.5344 GB, free: 25.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.7152, allocations: 12.41 MB / 0.5465 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/0.7178, allocations: 3.427 MB / 0.5498 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002413/0.7202, allocations: 0.7659 MB / 0.5506 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.7207, allocations: 211.4 kB / 0.5508 GB, free: 8.59 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7207, allocations: 0 / 0.5508 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Templates: time 0.08525/0.806, allocations: 48.75 MB / 0.5984 GB, free: 7.773 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)