Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, 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.00114/0.00114, allocations: 195.9 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.291/1.291, allocations: 205.1 MB / 222 MB, free: 4.734 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.001129/0.001129, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2011, allocations: 46.62 MB / 324.7 MB, free: 2.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01381/0.215, allocations: 13.53 MB / 338.2 MB, free: 6.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008474/0.2235, allocations: 4.445 MB / 342.7 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.226, allocations: 71.69 kB / 342.7 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.2284, allocations: 0.9133 MB / 343.6 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.2316, allocations: 1.259 MB / 344.9 MB, free: 16 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.2333, allocations: 0.8466 MB / 345.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005143/0.2384, allocations: 5.099 MB / 350.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/0.2419, allocations: 3.031 MB / 353.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.2441, allocations: 1.728 MB / 355.6 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.2469, allocations: 2.276 MB / 357.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006292/0.2476, allocations: 344 kB / 358.2 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.2489, allocations: 0.535 MB / 358.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008988/0.2498, allocations: 1.071 MB / 359.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.252, allocations: 2.177 MB / 362 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/0.2586, allocations: 7.497 MB / 369.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2586, allocations: 3.984 kB / 369.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2586, allocations: 0 / 369.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001515/0.2588, allocations: 0 / 369.5 MB, free: 7.273 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01247/0.2712, allocations: 5.021 MB / 374.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.2713, allocations: 8.031 kB / 374.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.2758, allocations: 0.8819 MB / 375.4 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/0.2805, allocations: 2.581 MB / 378 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.2807, allocations: 275.5 kB / 378.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006151/0.2813, allocations: 363.8 kB / 378.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008996/0.2903, allocations: 5.029 MB / 383.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/0.2904, allocations: 11.92 kB / 383.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.2908, allocations: 152 kB / 383.8 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.2909, allocations: 159.2 kB / 384 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007329/0.2983, allocations: 4.369 MB / 388.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.3227, allocations: 15.91 MB / 404.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007356/0.3301, allocations: 7.784 MB / 412 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.3329, allocations: 1.733 MB / 413.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007966/0.3409, allocations: 4.651 MB / 418.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.341, allocations: 43.88 kB / 418.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=161): time 3.476e-06/0.341, allocations: 4 kB / 418.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=164): time 0.01733/0.3583, allocations: 8.119 MB / 426.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3584, allocations: 72.72 kB / 426.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.3617, allocations: 2.159 MB / 428.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.3619, allocations: 49.7 kB / 428.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.3632, allocations: 1.615 MB / 430.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.3637, allocations: 0.5583 MB / 431 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005839/0.3643, allocations: 355.3 kB / 431.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3644, allocations: 305.1 kB / 431.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.3662, allocations: 0.9447 MB / 432.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.3681, allocations: 1.457 MB / 434.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.3716, allocations: 2.507 MB / 436.6 MB, free: 1.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.3716, allocations: 4 kB / 436.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.005388/0.377, allocations: 3.355 MB / 439.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.377, allocations: 12.47 kB / 439.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.3771, allocations: 16 kB / 440 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.3789, allocations: 0.7432 MB / 440.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.3803, allocations: 371.4 kB / 441.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.391, allocations: 10.4 MB / 451.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.3927, allocations: 87.95 kB / 451.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.3929, allocations: 76 kB / 451.6 MB, free: 2.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,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 (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001988/0.3949, allocations: 1.209 MB / 452.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.3953, allocations: 233.2 kB / 453.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1747/0.5701, allocations: 3.163 MB / 456.2 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.5701, allocations: 15.59 kB / 456.2 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.5702, allocations: 10.81 kB / 456.3 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5702, allocations: 7.453 kB / 456.3 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009543/0.5797, allocations: 6.571 MB / 462.8 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5798, allocations: 0 / 462.8 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.5805, allocations: 176 kB / 463 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.5825, allocations: 0.9102 MB / 463.9 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5826, allocations: 42.94 kB / 464 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.5944, allocations: 14.8 MB / 478.8 MB, free: 94.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5944, allocations: 7.312 kB / 478.8 MB, free: 94.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/0.6007, allocations: 4.494 MB / 483.3 MB, free: 90.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.6019, allocations: 0.523 MB / 483.8 MB, free: 90.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/0.6026, allocations: 39.98 kB / 483.8 MB, free: 90.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6038, allocations: 82.38 kB / 483.9 MB, free: 90.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/0.6042, allocations: 149.1 kB / 484 MB, free: 90.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.6044, allocations: 54.61 kB / 484.1 MB, free: 90.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002794/0.6072, allocations: 1.485 MB / 485.6 MB, free: 88.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6072, allocations: 0 / 485.6 MB, free: 88.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003133/0.6103, allocations: 0.7016 MB / 486.3 MB, free: 87.87 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (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.000396/0.6108, allocations: 174.8 kB / 486.5 MB, free: 87.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004372/0.6151, allocations: 3.113 MB / 489.6 MB, free: 84.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.6152, allocations: 4 kB / 489.6 MB, free: 84.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.6181, allocations: 2.262 MB / 491.8 MB, free: 82.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.6213, allocations: 0.5975 MB / 492.4 MB, free: 81.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.6328, allocations: 8.414 MB / 0.4891 GB, free: 73.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.6355, allocations: 2.68 MB / 0.4917 GB, free: 70.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001798/0.6373, allocations: 479.4 kB / 0.4922 GB, free: 70.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.6378, allocations: 135.4 kB / 0.4923 GB, free: 69.92 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6379, allocations: 4 kB / 0.4923 GB, free: 69.91 MB / 382.1 MB Notification: Performance of Templates: time 0.05352/0.6914, allocations: 36.88 MB / 0.5283 GB, free: 32.99 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1)