Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001344, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001349/0.001349, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005197/0.00052, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2676, allocations: 47.59 MB / 326.5 MB, free: 1.648 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008773/0.2764, allocations: 7.896 MB / 334.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007135/0.2836, allocations: 3.052 MB / 337.4 MB, free: 8.699 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.2857, allocations: 39.81 kB / 337.4 MB, free: 8.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.2875, allocations: 0.552 MB / 338 MB, free: 8.105 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.2901, allocations: 0.6854 MB / 338.7 MB, free: 7.418 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.2909, allocations: 243.6 kB / 338.9 MB, free: 7.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.2943, allocations: 1.949 MB / 340.9 MB, free: 5.223 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.2966, allocations: 1.571 MB / 342.4 MB, free: 3.617 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.2986, allocations: 0.938 MB / 343.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.3007, allocations: 1.195 MB / 344.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.301, allocations: 152 kB / 344.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006888/0.3017, allocations: 211.9 kB / 344.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007513/0.3025, allocations: 0.7166 MB / 345.6 MB, free: 412 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.3032, allocations: 0.5511 MB / 346.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.3074, allocations: 3.732 MB / 349.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3074, allocations: 0 / 349.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3074, allocations: 0 / 349.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.3075, allocations: 0 / 349.9 MB, free: 12.1 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.006166/0.3137, allocations: 2.75 MB / 352.7 MB, free: 9.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3137, allocations: 8.031 kB / 352.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009445/0.3147, allocations: 324.4 kB / 353 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.3177, allocations: 1.576 MB / 354.6 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.3179, allocations: 172.5 kB / 354.7 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.3183, allocations: 231.9 kB / 355 MB, free: 6.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/0.3238, allocations: 3.157 MB / 358.1 MB, free: 3.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.3239, allocations: 8 kB / 358.1 MB, free: 3.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.3241, allocations: 95.95 kB / 358.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.3242, allocations: 96.44 kB / 358.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.3291, allocations: 2.754 MB / 361.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.3475, allocations: 9.903 MB / 371 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.3512, allocations: 2.103 MB / 373.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.3516, allocations: 126.1 kB / 373.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.3517, allocations: 43.56 kB / 373.3 MB, free: 4.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=126): time 6.482e-06/0.3517, allocations: 0 / 373.3 MB, free: 4.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=142): time 0.02756/0.3792, allocations: 8.103 MB / 381.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3794, allocations: 64.72 kB / 381.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/0.3829, allocations: 1.625 MB / 383 MB, free: 10.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.3832, allocations: 57.64 kB / 383.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.3844, allocations: 1.089 MB / 384.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/0.385, allocations: 489 kB / 384.7 MB, free: 8.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3852, allocations: 32 kB / 384.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.3854, allocations: 369.9 kB / 385.1 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.3875, allocations: 0.9213 MB / 386 MB, free: 7.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.3893, allocations: 1.271 MB / 387.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.3913, allocations: 1.068 MB / 388.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.3913, allocations: 4 kB / 388.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007862/0.3992, allocations: 3.068 MB / 391.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.3993, allocations: 8 kB / 391.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/0.3993, allocations: 12 kB / 391.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.4021, allocations: 0.8366 MB / 392.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.4039, allocations: 307.5 kB / 392.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.4199, allocations: 9.331 MB / 401.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.422, allocations: 107.9 kB / 402 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.4223, allocations: 63.98 kB / 402 MB, free: 6.555 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * 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 initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002131/0.4244, allocations: 0.8057 MB / 402.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005747/0.425, allocations: 181.8 kB / 403 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/0.4303, allocations: 2.87 MB / 405.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.4303, allocations: 12 kB / 405.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.4304, allocations: 8 kB / 405.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.4304, allocations: 11.97 kB / 405.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.4425, allocations: 5.662 MB / 411.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/0.4426, allocations: 4 kB / 411.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/0.4435, allocations: 191.7 kB / 411.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.446, allocations: 0.8899 MB / 412.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.4461, allocations: 35.98 kB / 412.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/0.4603, allocations: 10.84 MB / 423.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.4603, allocations: 4.375 kB / 423.6 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008351/0.4687, allocations: 4.331 MB / 427.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/0.4702, allocations: 462.6 kB / 428.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/0.4706, allocations: 39.98 kB / 428.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.4716, allocations: 91.86 kB / 428.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/0.4721, allocations: 145.1 kB / 428.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.4722, allocations: 35.98 kB / 428.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002046/0.4742, allocations: 1.106 MB / 429.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4742, allocations: 0 / 429.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002687/0.4769, allocations: 0.5546 MB / 430.3 MB, free: 9.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004301/0.4774, allocations: 163 kB / 430.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00532/0.4827, allocations: 3.027 MB / 433.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.4828, allocations: 0 / 433.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.4864, allocations: 2.058 MB / 435.5 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.4896, allocations: 466 kB / 436 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.5013, allocations: 6.084 MB / 442.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.504, allocations: 2.067 MB / 444.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001782/0.5058, allocations: 411.3 kB / 444.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.5061, allocations: 111.4 kB / 444.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.5062, allocations: 0 / 444.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Templates: time 0.2863/0.7925, allocations: 29.57 MB / 474.2 MB, free: 100.8 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) Environment - environmentSimulation: