Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001115/0.001115, allocations: 91.2 kB / 16.3 MB, free: 6.133 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.0009721/0.0009721, allocations: 182.7 kB / 17.2 MB, free: 6.016 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.798/1.798, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0005985/0.0005988, allocations: 16 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1037, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008631/0.1124, allocations: 7.898 MB / 335.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.1187, allocations: 3.042 MB / 338.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.1201, allocations: 35.81 kB / 338.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.1219, allocations: 0.5597 MB / 339.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.1245, allocations: 0.7009 MB / 339.9 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.1255, allocations: 235.7 kB / 340.2 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.1286, allocations: 1.957 MB / 342.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.1304, allocations: 1.571 MB / 343.7 MB, free: 4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.1321, allocations: 0.938 MB / 344.6 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.1338, allocations: 1.195 MB / 345.8 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.1341, allocations: 152 kB / 346 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.1347, allocations: 219.9 kB / 346.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007626/0.1355, allocations: 0.7088 MB / 346.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.1362, allocations: 0.5472 MB / 347.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.1395, allocations: 3.728 MB / 351.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1395, allocations: 0 / 351.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1395, allocations: 0 / 351.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.1397, allocations: 0 / 351.2 MB, free: 12.49 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.006269/0.1459, allocations: 2.75 MB / 353.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.146, allocations: 12.03 kB / 353.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.147, allocations: 324.4 kB / 354.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.1504, allocations: 1.58 MB / 355.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.1506, allocations: 168.6 kB / 356 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/0.151, allocations: 231.9 kB / 356.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005922/0.1569, allocations: 3.169 MB / 359.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.157, allocations: 4 kB / 359.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.1572, allocations: 95.95 kB / 359.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.1573, allocations: 100.4 kB / 359.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/0.1622, allocations: 2.754 MB / 362.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.1783, allocations: 9.891 MB / 372.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.1809, allocations: 2.098 MB / 374.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.1811, allocations: 126.9 kB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1812, allocations: 55.5 kB / 374.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.146e-06/0.1812, allocations: 3.938 kB / 374.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.2944/0.4756, allocations: 8.096 MB / 382.6 MB, free: 49.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.4757, allocations: 67.67 kB / 382.7 MB, free: 49.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/0.4797, allocations: 1.626 MB / 384.3 MB, free: 48.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/0.4802, allocations: 47.05 kB / 384.3 MB, free: 48.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.4814, allocations: 1.086 MB / 385.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000648/0.4821, allocations: 484.7 kB / 385.9 MB, free: 47.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.4822, allocations: 30.34 kB / 385.9 MB, free: 47.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4823, allocations: 375.4 kB / 386.3 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.4842, allocations: 0.9171 MB / 387.2 MB, free: 46.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.4863, allocations: 1.269 MB / 388.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.4882, allocations: 1.079 MB / 389.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4882, allocations: 2.375 kB / 389.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006311/0.4945, allocations: 3.067 MB / 392.6 MB, free: 44.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.4946, allocations: 10.25 kB / 392.6 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/0.4947, allocations: 10.22 kB / 392.7 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.4971, allocations: 0.8341 MB / 393.5 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.4984, allocations: 308.9 kB / 393.8 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009744/0.5082, allocations: 9.335 MB / 403.1 MB, free: 37.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.5103, allocations: 103.9 kB / 403.2 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.5105, allocations: 58.28 kB / 403.3 MB, free: 37.41 MB / 318.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.002033/0.5126, allocations: 0.8176 MB / 404.1 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/0.5132, allocations: 179.4 kB / 404.3 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/0.5176, allocations: 2.864 MB / 407.1 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.5177, allocations: 12 kB / 407.2 MB, free: 34.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5177, allocations: 12 kB / 407.2 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5177, allocations: 7.969 kB / 407.2 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009701/0.5274, allocations: 5.659 MB / 412.8 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.5275, allocations: 4 kB / 412.8 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.5283, allocations: 195.7 kB / 413 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.5303, allocations: 0.8905 MB / 413.9 MB, free: 27.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.5305, allocations: 35.98 kB / 414 MB, free: 27.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.5407, allocations: 10.84 MB / 424.8 MB, free: 16.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5407, allocations: 7.938 kB / 424.8 MB, free: 16.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.5471, allocations: 4.327 MB / 429.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/0.5489, allocations: 466.7 kB / 429.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.5494, allocations: 28.88 kB / 429.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009428/0.5503, allocations: 92.98 kB / 429.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004941/0.5508, allocations: 153 kB / 429.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.5509, allocations: 32.77 kB / 429.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.5527, allocations: 1.114 MB / 431 MB, free: 9.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5528, allocations: 0 / 431 MB, free: 9.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003031/0.5558, allocations: 0.5533 MB / 431.6 MB, free: 9.332 MB / 318.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.0005245/0.5563, allocations: 169.4 kB / 431.7 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004756/0.5611, allocations: 3.014 MB / 434.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5611, allocations: 0 / 434.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.5643, allocations: 2.065 MB / 436.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.5674, allocations: 474.2 kB / 437.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.5789, allocations: 6.078 MB / 443.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.5813, allocations: 2.067 MB / 445.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001713/0.583, allocations: 415.2 kB / 445.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.5834, allocations: 111.4 kB / 445.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5834, allocations: 0 / 445.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Templates: time 0.06531/0.6487, allocations: 29.57 MB / 475.5 MB, free: 13.13 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) Environment - environmentSimulation: