Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001201/0.001201, 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.001303/0.001303, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.344/1.344, allocations: 205.1 MB / 222 MB, free: 4.777 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.00118/0.00118, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2085, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01379/0.2224, allocations: 12.69 MB / 337.4 MB, free: 7.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008627/0.231, allocations: 4.231 MB / 341.6 MB, free: 3.188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.2341, allocations: 63.75 kB / 341.7 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.2374, allocations: 0.8474 MB / 342.5 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.2418, allocations: 1.178 MB / 343.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.2442, allocations: 0.792 MB / 344.5 MB, free: 304 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005832/0.2501, allocations: 4.347 MB / 348.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/0.2545, allocations: 2.642 MB / 351.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.2573, allocations: 1.487 MB / 353 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/0.2607, allocations: 1.949 MB / 354.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000994/0.2618, allocations: 299.9 kB / 355.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2639, allocations: 0.4919 MB / 355.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009401/0.2648, allocations: 0.9032 MB / 356.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.2675, allocations: 1.886 MB / 358.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007121/0.2747, allocations: 6.531 MB / 365 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2747, allocations: 0 / 365 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2747, allocations: 0 / 365 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001676/0.2749, allocations: 0 / 365 MB, free: 11.63 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.01181/0.2867, allocations: 4.378 MB / 369.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2868, allocations: 8.031 kB / 369.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004407/0.2912, allocations: 0.8163 MB / 370.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.2956, allocations: 2.264 MB / 372.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.2958, allocations: 230.6 kB / 372.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006088/0.2964, allocations: 320 kB / 373 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007653/0.3041, allocations: 4.258 MB / 377.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/0.3042, allocations: 7.906 kB / 377.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/0.3045, allocations: 124 kB / 377.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.3046, allocations: 150.2 kB / 377.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006168/0.3108, allocations: 3.647 MB / 381.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/0.3319, allocations: 13.51 MB / 394.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/0.3385, allocations: 6.874 MB / 401.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/0.3411, allocations: 1.41 MB / 403 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006307/0.3474, allocations: 3.643 MB / 406.6 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3474, allocations: 47.56 kB / 406.7 MB, free: 432 kB / 334.1 MB Notification: Performance of pre-optimization done (n=124): time 3.196e-06/0.3475, allocations: 3.938 kB / 406.7 MB, free: 428 kB / 334.1 MB Notification: Performance of matching and sorting (n=144): time 0.01351/0.361, allocations: 6.61 MB / 413.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3611, allocations: 68.66 kB / 413.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.3642, allocations: 1.859 MB / 415.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002364/0.3645, allocations: 57.7 kB / 415.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3657, allocations: 1.416 MB / 416.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/0.3662, allocations: 0.489 MB / 417.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005185/0.3668, allocations: 303.3 kB / 417.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3669, allocations: 301.1 kB / 417.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.3682, allocations: 0.7613 MB / 418.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.3697, allocations: 1.22 MB / 419.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.3725, allocations: 2.111 MB / 421.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.3726, allocations: 8 kB / 421.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004536/0.3771, allocations: 2.655 MB / 424.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.3772, allocations: 15.94 kB / 424.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.3772, allocations: 16 kB / 424.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.3785, allocations: 0.4975 MB / 425 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.38, allocations: 387.5 kB / 425.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007699/0.3878, allocations: 6.406 MB / 431.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.3893, allocations: 79.86 kB / 431.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.3895, allocations: 75.98 kB / 432 MB, free: 6.172 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.001758/0.3913, allocations: 1.044 MB / 433 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.3917, allocations: 193.6 kB / 433.2 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.3958, allocations: 2.507 MB / 435.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.3959, allocations: 16 kB / 435.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3959, allocations: 8 kB / 435.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3959, allocations: 11.97 kB / 435.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/0.4049, allocations: 5.524 MB / 441.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.405, allocations: 4 kB / 441.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.406, allocations: 223.9 kB / 441.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.4074, allocations: 0.4997 MB / 442 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.4075, allocations: 31.98 kB / 442 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009941/0.4174, allocations: 10.46 MB / 452.5 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4175, allocations: 4.031 kB / 452.5 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1659/0.5833, allocations: 3.56 MB / 456.1 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.5845, allocations: 457.8 kB / 456.5 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.5848, allocations: 33.38 kB / 456.5 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.5858, allocations: 58.89 kB / 456.6 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.5861, allocations: 112.5 kB / 456.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.882e-05/0.5862, allocations: 43.55 kB / 456.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002106/0.5883, allocations: 1.284 MB / 458 MB, free: 108.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5883, allocations: 3.625 kB / 458 MB, free: 108.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002542/0.5909, allocations: 0.5855 MB / 458.6 MB, free: 108.4 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.0003498/0.5912, allocations: 168.7 kB / 458.8 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003988/0.5952, allocations: 2.383 MB / 461.2 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.5952, allocations: 7.688 kB / 461.2 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/0.5975, allocations: 1.717 MB / 462.9 MB, free: 106.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.6001, allocations: 0.4962 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.009376/0.6095, allocations: 7.316 MB / 470.7 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.6112, allocations: 2.361 MB / 473.1 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001473/0.6127, allocations: 424.7 kB / 473.5 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.613, allocations: 126.6 kB / 473.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6131, allocations: 0 / 473.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of Templates: time 0.0428/0.6559, allocations: 29.81 MB / 0.4916 GB, free: 70.9 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1)