Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001484/0.001484, allocations: 193.6 kB / 16.14 MB, free: 6.66 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.463/1.463, allocations: 205.1 MB / 222 MB, free: 4.738 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.00132/0.00132, allocations: 52.34 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2359, allocations: 46.63 MB / 324.7 MB, free: 2.051 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01596/0.2518, allocations: 12.68 MB / 337.4 MB, free: 7.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008237/0.2601, allocations: 4.235 MB / 341.6 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.2623, allocations: 67.69 kB / 341.7 MB, free: 3.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.2651, allocations: 0.8474 MB / 342.5 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.269, allocations: 1.178 MB / 343.7 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.2711, allocations: 0.7841 MB / 344.5 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005213/0.2763, allocations: 4.347 MB / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.2801, allocations: 2.638 MB / 351.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.2823, allocations: 1.494 MB / 353 MB, free: 7.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.2852, allocations: 1.949 MB / 354.9 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008767/0.2861, allocations: 296 kB / 355.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.2878, allocations: 0.4919 MB / 355.7 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.289, allocations: 0.907 MB / 356.6 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.292, allocations: 1.886 MB / 358.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007221/0.2992, allocations: 6.527 MB / 365 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2993, allocations: 3.984 kB / 365 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2993, allocations: 0 / 365 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.2994, allocations: 0 / 365 MB, free: 11.74 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01187/0.3113, allocations: 4.378 MB / 369.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3113, allocations: 12.03 kB / 369.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/0.3156, allocations: 0.8201 MB / 370.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.3201, allocations: 2.257 MB / 372.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3204, allocations: 234.6 kB / 372.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005386/0.3209, allocations: 316 kB / 373 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007548/0.3285, allocations: 4.254 MB / 377.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/0.3286, allocations: 11.89 kB / 377.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.3289, allocations: 124 kB / 377.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.329, allocations: 146.2 kB / 377.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006462/0.3355, allocations: 3.651 MB / 381.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.3576, allocations: 13.5 MB / 394.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.3649, allocations: 6.87 MB / 401.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.3675, allocations: 1.413 MB / 403 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007146/0.3747, allocations: 3.643 MB / 406.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3748, allocations: 47.56 kB / 406.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=124): time 5.51e-06/0.3748, allocations: 0 / 406.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of matching and sorting (n=144): time 0.01443/0.3892, allocations: 6.618 MB / 413.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3893, allocations: 68.72 kB / 413.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.3936, allocations: 1.859 MB / 415.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.3938, allocations: 49.7 kB / 415.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.3953, allocations: 1.419 MB / 416.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006053/0.3959, allocations: 0.489 MB / 417.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.3967, allocations: 303.3 kB / 417.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3968, allocations: 305.1 kB / 417.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.3983, allocations: 0.7613 MB / 418.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.4001, allocations: 1.224 MB / 419.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.4031, allocations: 2.104 MB / 421.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.4031, allocations: 8 kB / 421.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004895/0.408, allocations: 2.659 MB / 424.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.4081, allocations: 15.97 kB / 424.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.4081, allocations: 16 kB / 424.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.4096, allocations: 0.4897 MB / 425 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.4112, allocations: 395.4 kB / 425.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008228/0.4194, allocations: 6.41 MB / 431.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4209, allocations: 75.86 kB / 431.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.4212, allocations: 75.98 kB / 432 MB, free: 6.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (7,31,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001867/0.4231, allocations: 1.044 MB / 433 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.4235, allocations: 201.5 kB / 433.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.428, allocations: 2.5 MB / 435.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.4281, allocations: 16 kB / 435.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.4281, allocations: 8 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.4281, allocations: 11.97 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009486/0.4376, allocations: 5.524 MB / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4377, allocations: 4 kB / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4387, allocations: 223.9 kB / 441.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.44, allocations: 0.4997 MB / 442 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.4402, allocations: 31.98 kB / 442 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.4508, allocations: 10.47 MB / 452.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4508, allocations: 0 / 452.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1823/0.6331, allocations: 3.555 MB / 456.1 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.6344, allocations: 459.3 kB / 456.5 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006565/0.6351, allocations: 35.31 kB / 456.6 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.6364, allocations: 68.75 kB / 456.6 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.6368, allocations: 106.8 kB / 456.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6369, allocations: 44.03 kB / 456.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002931/0.6399, allocations: 1.287 MB / 458.1 MB, free: 108.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6399, allocations: 0 / 458.1 MB, free: 108.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003516/0.6434, allocations: 0.5866 MB / 458.6 MB, free: 108.5 MB / 382.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.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005125/0.6439, allocations: 157 kB / 458.8 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004467/0.6484, allocations: 2.388 MB / 461.2 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6485, allocations: 0 / 461.2 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.6509, allocations: 1.728 MB / 462.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.654, allocations: 0.4888 MB / 463.4 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.6648, allocations: 7.322 MB / 470.7 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/0.6672, allocations: 2.364 MB / 473.1 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001653/0.6689, allocations: 423.5 kB / 473.5 MB, free: 100.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.6694, allocations: 122.9 kB / 473.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6695, allocations: 0 / 473.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of Templates: time 0.04515/0.7146, allocations: 29.8 MB / 0.4916 GB, free: 70.96 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1)