Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001406/0.001406, allocations: 111.8 kB / 16.63 MB, free: 6.953 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.001579/0.001579, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.304/1.304, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.001227/0.001227, allocations: 48.16 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.08027, allocations: 46.63 MB / 326.1 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01893/0.09925, allocations: 19.23 MB / 345.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1094, allocations: 5.597 MB / 351 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.1126, allocations: 99.56 kB / 351.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.1161, allocations: 1.115 MB / 352.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005486/0.1216, allocations: 1.706 MB / 353.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.1245, allocations: 1.08 MB / 355 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008077/0.1326, allocations: 6.563 MB / 361.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006246/0.1389, allocations: 5.341 MB / 366.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.1429, allocations: 2.85 MB / 369.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/0.148, allocations: 3.48 MB / 373.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.1498, allocations: 0.7969 MB / 374 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.1533, allocations: 1.085 MB / 375.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.1551, allocations: 1.967 MB / 377 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1625/0.3176, allocations: 3.43 MB / 380.5 MB, free: 22.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.3292, allocations: 10.49 MB / 391 MB, free: 21.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3293, allocations: 1.281 kB / 391 MB, free: 21.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.3293, allocations: 2.297 kB / 391 MB, free: 21.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003003/0.3296, allocations: 6 kB / 391 MB, free: 21.75 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.01957/0.3492, allocations: 6.678 MB / 397.7 MB, free: 18.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3493, allocations: 11.09 kB / 397.7 MB, free: 18.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005417/0.3547, allocations: 1.079 MB / 398.8 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006567/0.3613, allocations: 3.395 MB / 402.1 MB, free: 16.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.3615, allocations: 386.3 kB / 402.5 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009269/0.3625, allocations: 0.5064 MB / 403 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.381, allocations: 6.954 MB / 410 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.3812, allocations: 13.91 kB / 410 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000737/0.3819, allocations: 215.6 kB / 410.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.3822, allocations: 235.4 kB / 410.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.3924, allocations: 5.917 MB / 416.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.4265, allocations: 21.38 MB / 437.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008471/0.435, allocations: 8.695 MB / 446.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004046/0.4391, allocations: 2.364 MB / 448.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.4511, allocations: 6.142 MB / 454.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.4513, allocations: 59.19 kB / 455 MB, free: 1.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 4.859e-06/0.4513, allocations: 0 / 455 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=238): time 0.0245/0.4758, allocations: 11.28 MB / 466.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4759, allocations: 80.78 kB / 466.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/0.481, allocations: 2.994 MB / 469.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005256/0.4816, allocations: 65.7 kB / 469.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.4832, allocations: 2.301 MB / 471.7 MB, free: 472 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008554/0.4841, allocations: 0.8152 MB / 472.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008184/0.4849, allocations: 0.5059 MB / 473 MB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.485, allocations: 305.1 kB / 473.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4872, allocations: 1.353 MB / 474.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.4898, allocations: 2.135 MB / 476.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004749/0.4946, allocations: 3.691 MB / 480.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.4946, allocations: 6.625 kB / 480.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.008079/0.5027, allocations: 4.662 MB / 485.2 MB, free: 2.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.5027, allocations: 16 kB / 485.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/0.5028, allocations: 24 kB / 485.2 MB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.5046, allocations: 0.7692 MB / 486 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.507, allocations: 0.6342 MB / 486.6 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.5199, allocations: 14.55 MB / 0.4894 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.5231, allocations: 155.7 kB / 0.4896 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.5235, allocations: 120 kB / 0.4897 GB, free: 1.324 MB / 398.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.003204/0.5267, allocations: 1.605 MB / 0.4912 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008569/0.5275, allocations: 324 kB / 0.4916 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007156/0.5347, allocations: 4.196 MB / 0.4957 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.5347, allocations: 20 kB / 0.4957 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.5348, allocations: 12 kB / 0.4957 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.5348, allocations: 11.95 kB / 0.4957 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.5509, allocations: 9.141 MB / 0.5046 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.551, allocations: 4 kB / 0.5046 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.5526, allocations: 377.5 kB / 0.505 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.5551, allocations: 0.932 MB / 0.5059 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.5553, allocations: 63.97 kB / 0.506 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.5719, allocations: 18.01 MB / 0.5235 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.5719, allocations: 6.625 kB / 0.5236 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00981/0.5817, allocations: 6.055 MB / 0.5295 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/0.5841, allocations: 0.6884 MB / 0.5301 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006409/0.5848, allocations: 59.98 kB / 0.5302 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.5865, allocations: 135.9 kB / 0.5303 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/0.587, allocations: 195.5 kB / 0.5305 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/0.5872, allocations: 67.97 kB / 0.5306 GB, free: 6.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003312/0.5905, allocations: 2.041 MB / 0.5326 GB, free: 4.191 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5906, allocations: 0 / 0.5326 GB, free: 4.191 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00364/0.5942, allocations: 0.9767 MB / 0.5335 GB, free: 3.215 MB / 446.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.0005891/0.5948, allocations: 249.9 kB / 0.5338 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1785/0.7733, allocations: 6.116 MB / 0.5397 GB, free: 161.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.7734, allocations: 0.8125 kB / 0.5397 GB, free: 161.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004706/0.7781, allocations: 3.043 MB / 0.5427 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/0.7831, allocations: 0.9045 MB / 0.5436 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.8007, allocations: 12.18 MB / 0.5555 GB, free: 154.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.8035, allocations: 3.434 MB / 0.5588 GB, free: 153.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002762/0.8063, allocations: 0.7653 MB / 0.5596 GB, free: 153 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/0.8069, allocations: 215.3 kB / 0.5598 GB, free: 153 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.8069, allocations: 0 / 0.5598 GB, free: 153 MB / 446.1 MB Notification: Performance of Templates: time 0.07653/0.8834, allocations: 51.22 MB / 0.6098 GB, free: 105.4 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)